aboutsummaryrefslogtreecommitdiff
path: root/ports.mk
diff options
context:
space:
mode:
authorColin Snover2017-10-21 11:20:46 -0500
committerThierry Crozat2019-08-04 22:12:29 +0100
commit943b64ad164882da2cf8f67adfa22cfa402f75fd (patch)
tree1ef7722ab5f5de505f83dec2a22c051d1929c892 /ports.mk
parentcd57bd6e0975f7235b62bf3bbb79b9168b89982d (diff)
downloadscummvm-rg350-943b64ad164882da2cf8f67adfa22cfa402f75fd.tar.gz
scummvm-rg350-943b64ad164882da2cf8f67adfa22cfa402f75fd.tar.bz2
scummvm-rg350-943b64ad164882da2cf8f67adfa22cfa402f75fd.zip
BUILD: Fix wrong library path from sdl2-config when bundling for macOS
Diffstat (limited to 'ports.mk')
-rw-r--r--ports.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports.mk b/ports.mk
index 3a13dc1f44..ce131f0a99 100644
--- a/ports.mk
+++ b/ports.mk
@@ -295,7 +295,7 @@ endif
ifneq ($(BACKEND), iphone)
ifneq ($(BACKEND), ios7)
# Static libaries, used for the scummvm-static and iphone targets
-OSX_STATIC_LIBS := `$(SDLCONFIG) --static-libs`
+OSX_STATIC_LIBS := `$(SDLCONFIG) --prefix=$(STATICLIBPATH) --static-libs`
ifdef USE_SDL_NET
ifdef USE_SDL2
OSX_STATIC_LIBS += $(STATICLIBPATH)/lib/libSDL2_net.a