From 6224f97cf060cb9cb0a2cac0ca003020047b1d00 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Wed, 13 Jan 2016 14:53:57 +0100 Subject: [PATCH] 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 --- ports.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ports.mk b/ports.mk index 2640a27228e..fa380846e18 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