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
master
Giel van Schijndel 2008-05-12 19:52:35 +00:00
parent f8e4607093
commit 72075d2621
1 changed files with 4 additions and 0 deletions

View File

@ -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