aboutsummaryrefslogtreecommitdiff
path: root/ports.mk
diff options
context:
space:
mode:
Diffstat (limited to 'ports.mk')
-rw-r--r--ports.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/ports.mk b/ports.mk
index 286c48837e..4b5fa6bca0 100644
--- a/ports.mk
+++ b/ports.mk
@@ -273,11 +273,22 @@ ifneq ($(BACKEND), iphone)
ifneq ($(BACKEND), ios7)
# Static libaries, used for the scummvm-static and iphone targets
OSX_STATIC_LIBS := `$(SDLCONFIG) --static-libs`
+ifdef USE_SDL_NET
+ifdef USE_SDL2
+OSX_STATIC_LIBS += $(STATICLIBPATH)/lib/libSDL2_net.a
+else
+OSX_STATIC_LIBS += $(STATICLIBPATH)/lib/libSDL_net.a
+endif
+endif
# With sdl2-config we don't always get the OpenGL framework
OSX_STATIC_LIBS += -framework OpenGL
endif
endif
+ifdef USE_LIBCURL
+OSX_STATIC_LIBS += -lcurl
+endif
+
ifdef USE_FREETYPE2
OSX_STATIC_LIBS += $(STATICLIBPATH)/lib/libfreetype.a $(STATICLIBPATH)/lib/libbz2.a
endif