diff --git a/configure b/configure index e1ee583b9c8..16823f54e06 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 1be3c44ced1..adc28d4fd41 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