diff options
-rw-r--r-- | ports.mk | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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 |