aboutsummaryrefslogtreecommitdiff
path: root/ports.mk
diff options
context:
space:
mode:
authorJohannes Schickel2016-01-13 14:53:57 +0100
committerJohannes Schickel2016-01-13 14:53:57 +0100
commit6224f97cf060cb9cb0a2cac0ca003020047b1d00 (patch)
tree6338e3b797fc873b2ee5dc25e6fc3352050a497e /ports.mk
parentcfdeb56610fef1ff2cc420a57f06f0071115b90f (diff)
downloadscummvm-rg350-6224f97cf060cb9cb0a2cac0ca003020047b1d00.tar.gz
scummvm-rg350-6224f97cf060cb9cb0a2cac0ca003020047b1d00.tar.bz2
scummvm-rg350-6224f97cf060cb9cb0a2cac0ca003020047b1d00.zip
BUILD: Fix ios7bundle/iphone bundle targets again.
iOS SDKs do not contain a libreadline, thus only link that for Mac OS X. Regression from: cb5db404c005e9ce982bee2a7abccad3ba043dc4
Diffstat (limited to 'ports.mk')
-rw-r--r--ports.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/ports.mk b/ports.mk
index 2640a27228..fa380846e1 100644
--- a/ports.mk
+++ b/ports.mk
@@ -247,10 +247,16 @@ endif
ifdef USE_FLUIDSYNTH
OSX_STATIC_LIBS += \
- -liconv -lreadline -framework CoreMIDI -framework CoreAudio\
+ -liconv -framework CoreMIDI -framework CoreAudio\
$(STATICLIBPATH)/lib/libfluidsynth.a \
$(STATICLIBPATH)/lib/libglib-2.0.a \
$(STATICLIBPATH)/lib/libintl.a
+
+ifneq ($(BACKEND), iphone)
+ifneq ($(BACKEND), ios7)
+OSX_STATIC_LIBS += -lreadline
+endif
+endif
endif
ifdef USE_MAD