MACOSX: Fix make bundle when compiling with libpng
svn-id: r53463
This commit is contained in:
parent
6fc10aeeac
commit
dad3f32278
2 changed files with 5 additions and 1 deletions
2
configure
vendored
2
configure
vendored
|
@ -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
|
||||
|
|
4
ports.mk
4
ports.mk
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue