diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-11-09 23:38:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-11-09 23:38:47 +0300 |
commit | e5f83f094dd658163150ea2a41c5d4a67f21019c (patch) | |
tree | f93141509f925bd4114aab4865d3ca675ec967d7 /src | |
parent | 97c65df01490049542111ed3566798c31fb36ac4 (diff) | |
download | plus-e5f83f094dd658163150ea2a41c5d4a67f21019c.tar.gz plus-e5f83f094dd658163150ea2a41c5d4a67f21019c.tar.bz2 plus-e5f83f094dd658163150ea2a41c5d4a67f21019c.tar.xz plus-e5f83f094dd658163150ea2a41c5d4a67f21019c.zip |
fix SDL2 usage with external sdl2gfx.
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 3 |
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 |