aboutsummaryrefslogtreecommitdiffstats
path: root/emulator/opengl/sdl.mk
diff options
context:
space:
mode:
Diffstat (limited to 'emulator/opengl/sdl.mk')
-rw-r--r--emulator/opengl/sdl.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/emulator/opengl/sdl.mk b/emulator/opengl/sdl.mk
index 658e2d4..a85ed58 100644
--- a/emulator/opengl/sdl.mk
+++ b/emulator/opengl/sdl.mk
@@ -7,6 +7,7 @@ ifeq ($(BUILD_STANDALONE_EMULATOR),true)
# Makefile that included us.
EMUGL_SDL_CFLAGS := $(SDL_CFLAGS)
EMUGL_SDL_LDLIBS := $(SDL_LDLIBS)
+EMUGL_SDL_STATIC_LIBRARIES := emulator_libSDL emulator_libSDLmain
else # BUILD_STANDALONE_EMULATOR != true
@@ -15,6 +16,7 @@ else # BUILD_STANDALONE_EMULATOR != true
EMUGL_SDL_CONFIG ?= prebuilts/tools/$(HOST_PREBUILT_TAG)/sdl/bin/sdl-config
EMUGL_SDL_CFLAGS := $(shell $(EMUGL_SDL_CONFIG) --cflags)
EMUGL_SDL_LDLIBS := $(filter-out %.a %.lib,$(shell $(EMUGL_SDL_CONFIG) --static-libs))
+EMUGL_SDL_STATIC_LIBRARIES := libSDL libSDLmain
ifeq ($(HOST_OS),windows)
EMUGL_SDL_LDLIBS += -lws2_32