From 72075d26216729fc82175445f2cd63f01b08609f Mon Sep 17 00:00:00 2001 From: Giel van Schijndel Date: Mon, 12 May 2008 19:52:35 +0000 Subject: [PATCH] Fix LDADD in tests/Makefile.am so that crosscompiling (or rather crosslinking) with mingw32 is possible git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5090 4a71c877-e1ca-e34f-864e-861f7616d084 --- tests/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/Makefile.am b/tests/Makefile.am index 6d714fe7c..26fe58125 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -2,6 +2,10 @@ AM_CPPFLAGS = -DYY_NO_INPUT $(SDL_CFLAGS) $(WZ_CPPFLAGS) AM_CFLAGS = $(WZ_CFLAGS) LDADD = $(top_builddir)/lib/framework/libframework.a $(SDL_LIBS) $(PHYSFS_LIBS) +if MINGW32 +LDADD += $(WIN32_LIBS) +endif + noinst_PROGRAMS = t1000 t1000_SOURCES = t1000.c