(svn r1003) Mac: reintroduced the static libpng hack in makefile since it appears to be needed in the nightly builds
authorbjarni
Fri, 10 Dec 2004 13:00:11 +0000
changeset 583 3bcdf7a0c2f7
parent 582 cc1bd1362c6c
child 584 19dbfc84e766
(svn r1003) Mac: reintroduced the static libpng hack in makefile since it appears to be needed in the nightly builds
Makefile
--- a/Makefile	Thu Dec 09 23:49:23 2004 +0000
+++ b/Makefile	Fri Dec 10 13:00:11 2004 +0000
@@ -425,7 +425,12 @@
 # seems like older libpng versions are broken and need this
 PNGCONFIG_FLAGS = --ldflags --libs
 ifdef STATIC
+ifdef OSX
+# Seems like we need a tiny hack for OSX static to work
+LIBS += `libpng-config --prefix`/lib/libpng.a
+else
 LIBS += `libpng-config --static $(PNGCONFIG_FLAGS)`
+endif
 else
 LIBS += `libpng-config  --L_opts $(PNGCONFIG_FLAGS)`
 endif