summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-11-09 23:38:47 +0300
committerAndrei Karas <akaras@inbox.ru>2013-11-09 23:38:47 +0300
commite5f83f094dd658163150ea2a41c5d4a67f21019c (patch)
treef93141509f925bd4114aab4865d3ca675ec967d7
parent97c65df01490049542111ed3566798c31fb36ac4 (diff)
downloadplus-e5f83f094dd658163150ea2a41c5d4a67f21019c.tar.gz
plus-e5f83f094dd658163150ea2a41c5d4a67f21019c.tar.bz2
plus-e5f83f094dd658163150ea2a41c5d4a67f21019c.tar.xz
plus-e5f83f094dd658163150ea2a41c5d4a67f21019c.zip
fix SDL2 usage with external sdl2gfx.
-rw-r--r--src/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index ec6622a88..fc1b6a9c9 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -155,6 +155,9 @@ manaplus_SOURCES += sdl2gfx/SDL2_framerate.c \
sdl2gfx/SDL2_framerate.h \
sdl2gfx/SDL2_rotozoom.c \
sdl2gfx/SDL2_rotozoom.h
+else
+dyecmd_CXXFLAGS += -DUSE_SDL2
+manaplus_CXXFLAGS += -DUSE_SDL2
endif
endif