summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 89f09413e..b18ee6d06 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1938,6 +1938,7 @@ TESTS = manaplustests
check_PROGRAMS = manaplustests
manaplustests_CXXFLAGS = ${manaplus_CXXFLAGS} \
-DUNITTESTS
+manaplustests_LDFLAGS =
if USE_PHYSFS
manaplustests_CXXFLAGS += -DUSE_PHYSFS
endif
@@ -1950,7 +1951,7 @@ endif
if ENABLE_ASSERTS
manaplustests_CXXFLAGS += -DENABLE_ASSERTS
if HAVE_RDYNAMIC
-manaplustests_LDFLAGS = -rdynamic
+manaplustests_LDFLAGS += -rdynamic
endif
endif
if ENABLE_GLIBCDEBUG
@@ -1971,6 +1972,7 @@ manaplustests_SOURCES = ${SRC} \
if MINGW
manaplustests_SOURCES += manaplus.rc
+manaplustests_LDFLAGS += -mconsole
endif
if USE_PHYSFS