aboutsummaryrefslogtreecommitdiff
path: root/ports.mk
diff options
context:
space:
mode:
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