aboutsummaryrefslogtreecommitdiff
path: root/ports.mk
diff options
context:
space:
mode:
authorThierry Crozat2016-03-13 16:56:32 +0000
committerThierry Crozat2016-03-13 17:10:58 +0000
commit9ae52541ce27573b71e9eda9ca092d7472bae36d (patch)
treeb4ff82bea1d01bdac421d4a6bdb2052147c7e01f /ports.mk
parentd85eb8ded68a20de383d84064aacd1a4c81db4e9 (diff)
downloadscummvm-rg350-9ae52541ce27573b71e9eda9ca092d7472bae36d.tar.gz
scummvm-rg350-9ae52541ce27573b71e9eda9ca092d7472bae36d.tar.bz2
scummvm-rg350-9ae52541ce27573b71e9eda9ca092d7472bae36d.zip
BUILD: Add OpenGL framework in static build link command on OS X
This should be provided by sdl-config --static-libs, but when using SDL2 it is missing for me.
Diffstat (limited to 'ports.mk')
-rw-r--r--ports.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/ports.mk b/ports.mk
index bcdbe532d9..64baf1b9f3 100644
--- a/ports.mk
+++ b/ports.mk
@@ -223,6 +223,8 @@ ifneq ($(BACKEND), iphone)
ifneq ($(BACKEND), ios7)
# Static libaries, used for the scummvm-static and iphone targets
OSX_STATIC_LIBS := `$(SDLCONFIG) --static-libs`
+# With sdl2-config we don't always get the OpenGL framework
+OSX_STATIC_LIBS := -framework OpenGL
endif
endif