diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-07 17:55:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-07 17:55:28 +0300 |
commit | 6f7f469430ea05946a11dd41f62010961be6285e (patch) | |
tree | c6d2973a2e203b3a1451892e583a8057d3fcf319 | |
parent | 37dfcd854b76707dbf783fc0d371081f5fcaf7d2 (diff) | |
download | mv-6f7f469430ea05946a11dd41f62010961be6285e.tar.gz mv-6f7f469430ea05946a11dd41f62010961be6285e.tar.bz2 mv-6f7f469430ea05946a11dd41f62010961be6285e.tar.xz mv-6f7f469430ea05946a11dd41f62010961be6285e.zip |
Enable console in unit tests if build with mingw.
-rw-r--r-- | src/Makefile.am | 4 |
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 |