diff options
author | Thierry Crozat | 2016-09-03 23:30:32 +0100 |
---|---|---|
committer | Thierry Crozat | 2016-09-03 23:31:42 +0100 |
commit | a47a9bf5c36742a6948adb489eb4b437c2baa414 (patch) | |
tree | dc4b49cdf59be1102b9df495a65abc2cad880dee | |
parent | 972e7d65f4cebb07e1724b96543f6b0d25f78360 (diff) | |
download | scummvm-rg350-a47a9bf5c36742a6948adb489eb4b437c2baa414.tar.gz scummvm-rg350-a47a9bf5c36742a6948adb489eb4b437c2baa414.tar.bz2 scummvm-rg350-a47a9bf5c36742a6948adb489eb4b437c2baa414.zip |
BUILD: Fix creation of MacOS X application bundle when using SDL_net and curl
-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 |