From 1130dec32fb81f97ee0137395eff3da0dac142c1 Mon Sep 17 00:00:00 2001 From: bjarni Date: Fri, 10 Dec 2004 13:00:11 +0000 Subject: (svn r1003) Mac: reintroduced the static libpng hack in makefile since it appears to be needed in the nightly builds --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 79e045ef6..ed707de4e 100644 --- a/Makefile +++ b/Makefile @@ -425,7 +425,12 @@ CFLAGS += `libpng-config --cflags` # 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 -- cgit v1.2.3-70-g09d2