diff Makefile.cross-mingw @ 1432:a9516570cc26

Improve build, so that we can build the tools and tests with minimal depencies (e.g. without libSDL linking when possible.) And this also on Win32 MinGW.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 22 Nov 2017 01:33:21 +0200
parents 2791f790497d
children 5e5f75b45f8d
line wrap: on
line diff
--- a/Makefile.cross-mingw	Wed Nov 22 01:04:41 2017 +0200
+++ b/Makefile.cross-mingw	Wed Nov 22 01:33:21 2017 +0200
@@ -31,6 +31,6 @@
 ZLIB_CFLAGS ?=
 ZLIB_LDFLAGS ?= $(MINGW_PATH)/lib/libz.a
 
-TOOL_LDFLAGS ?= -lmingw32 -lSDLmain -lSDL -mconsole
+TOOL_LDFLAGS ?= -mconsole -lmingw32
 
 include $(DMLIB)Makefile.gen