aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Corallo <matt@bluematt.me>2011-04-24 21:12:32 +0200
committerMatt Corallo <matt@bluematt.me>2011-04-25 17:00:12 +0200
commit2d9b9fecd52fb12f187d57fb7dc891d424e0f457 (patch)
tree3d7ec3c574b158711c4c8dd953c876462eef916c
parent64ad448adc67f3c32fe0dfe074c82a8377f67ee7 (diff)
downloadbitcoin-2d9b9fecd52fb12f187d57fb7dc891d424e0f457.tar.xz
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.
-rw-r--r--build-unix.txt2
-rw-r--r--ui.cpp3
2 files changed, 1 insertions, 4 deletions
diff --git a/build-unix.txt b/build-unix.txt
index b959f1a2d9..d0cbc40fab 100644
--- a/build-unix.txt
+++ b/build-unix.txt
@@ -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
diff --git a/ui.cpp b/ui.cpp
index 2277da6a3a..a95f31bdb8 100644
--- a/ui.cpp
+++ b/ui.cpp
@@ -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