Skip to content

Commit

Permalink
BUILD: Fix creation of MacOS X application bundle when using SDL_net …
Browse files Browse the repository at this point in the history
…and curl
  • Loading branch information
criezy committed Sep 3, 2016
1 parent 972e7d6 commit a47a9bf
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions ports.mk
Expand Up @@ -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
Expand Down

0 comments on commit a47a9bf

Please sign in to comment.