aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure1
-rw-r--r--ports.mk2
2 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index e1ee583b9c..16823f54e0 100755
--- a/configure
+++ b/configure
@@ -4612,6 +4612,7 @@ STAGINGPATH=$_stagingpath
WIN32PATH=$_win32path
AMIGAOSPATH=$_amigaospath
STATICLIBPATH=$_staticlibpath
+SDLCONFIG=$_sdlconfig
ABI := $ABI
diff --git a/ports.mk b/ports.mk
index 1be3c44ced..adc28d4fd4 100644
--- a/ports.mk
+++ b/ports.mk
@@ -95,7 +95,7 @@ endif
# Location of static libs for the iPhone
ifneq ($(BACKEND), iphone)
# Static libaries, used for the scummvm-static and iphone targets
-OSX_STATIC_LIBS := `$(STATICLIBPATH)/bin/sdl-config --static-libs`
+OSX_STATIC_LIBS := `$(SDLCONFIG) --static-libs`
endif
ifdef USE_FREETYPE2