diff options
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | ports.mk | 4 |
2 files changed, 5 insertions, 1 deletions
@@ -2388,7 +2388,7 @@ if test "$_png" = yes ; then LIBS="$LIBS $PNG_LIBS -lpng" INCLUDES="$INCLUDES $PNG_CFLAGS" fi -define_in_config_h_if_yes "$_png" 'USE_PNG' +define_in_config_if_yes "$_png" 'USE_PNG' echo "$_png" if test `get_engine_build sword25` = yes && test ! "$_png" = yes ; then @@ -98,6 +98,10 @@ ifdef USE_MPEG2 OSX_STATIC_LIBS += $(STATICLIBPATH)/lib/libmpeg2.a endif +ifdef USE_PNG +OSX_STATIC_LIBS += $(STATICLIBPATH)/lib/libpng.a +endif + ifdef USE_ZLIB OSX_ZLIB ?= -lz endif |