aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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