aboutsummaryrefslogtreecommitdiff
path: root/ports.mk
diff options
context:
space:
mode:
authorThierry Crozat2010-06-15 21:31:46 +0000
committerThierry Crozat2010-06-15 21:31:46 +0000
commit3f4ec4a8a4bd70bb340a5ba358e8aa4b622ee844 (patch)
tree6a2e28885c1d22492b05f556dfe4a2d9c621b7d9 /ports.mk
parent2e9a7155e6ba4398a1594df4c21de97f29a99193 (diff)
downloadscummvm-rg350-3f4ec4a8a4bd70bb340a5ba358e8aa4b622ee844.tar.gz
scummvm-rg350-3f4ec4a8a4bd70bb340a5ba358e8aa4b622ee844.tar.bz2
scummvm-rg350-3f4ec4a8a4bd70bb340a5ba358e8aa4b622ee844.zip
Fix link of scummvm-static (for MacOS X bundle) when translation is enabled.
svn-id: r49894
Diffstat (limited to 'ports.mk')
-rw-r--r--ports.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/ports.mk b/ports.mk
index 8f51ebb005..0feaacbea3 100644
--- a/ports.mk
+++ b/ports.mk
@@ -101,6 +101,10 @@ ifdef USE_ZLIB
OSX_ZLIB ?= -lz
endif
+ifdef USE_TRANSLATION
+OSX_ICONV ?= -liconv
+endif
+
# Special target to create a static linked binary for Mac OS X.
# We use -force_cpusubtype_ALL to ensure the binary runs on every
# PowerPC machine.
@@ -109,6 +113,7 @@ scummvm-static: $(OBJS)
-framework CoreMIDI \
$(OSX_STATIC_LIBS) \
$(OSX_ZLIB) \
+ $(OSX_ICONV) \
-lSystemStubs
# Special target to create a static linked binary for the iPhone