Browse Source

Remove unnecessary line which creates a dependency on wx's png library.

This should allow the bitcoin binaries to run on ever so slightly more installs,
specifically those who use a different libpng library (many distros use 1.4 which is imcompatible with 1.2.
0.8
Matt Corallo 13 years ago
parent
commit
2d9b9fecd5
  1. 2
      build-unix.txt
  2. 3
      ui.cpp

2
build-unix.txt

@ -73,7 +73,7 @@ tar -xzvf wxWidgets-2.9.0.tar.gz @@ -73,7 +73,7 @@ tar -xzvf wxWidgets-2.9.0.tar.gz
cd wxWidgets-2.9.0
mkdir buildgtk
cd buildgtk
../configure --with-gtk --enable-debug --disable-shared --enable-monolithic
../configure --with-gtk --enable-debug --disable-shared --enable-monolithic --without-libpng --disable-svg
make
sudo su
make install

3
ui.cpp

@ -2839,9 +2839,6 @@ bool CMyApp::OnInit() @@ -2839,9 +2839,6 @@ bool CMyApp::OnInit()
extern int g_isPainting;
g_isPainting = 10000;
#endif
#ifdef GUI
wxImage::AddHandler(new wxPNGHandler);
#endif
#if defined(__WXMSW__ ) || defined(__WXMAC_OSX__)
SetAppName("Bitcoin");
#else

Loading…
Cancel
Save