summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-11-30 02:43:24 -0500
committerTavian Barnes <tavianator@gmail.com>2010-11-30 02:43:24 -0500
commitd5c774477b1d1cbbcc6a7daf00679bcb57193533 (patch)
tree977528287e05ba4b7efe737d9033bec11ae0da02
parentc6bbee48816f197a7d99bb61908a6d0601775a9c (diff)
downloaddimension-d5c774477b1d1cbbcc6a7daf00679bcb57193533.tar.xz
Make libtool work correctly on Windows (MinGW).
-rw-r--r--configure.ac1
-rw-r--r--libdimension/Makefile.am2
2 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 266e990..b4147fd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -33,6 +33,7 @@ AM_PROG_LEX
AC_PROG_YACC
AM_PROG_AS
AC_PROG_INSTALL
+AC_LIBTOOL_WIN32_DLL
AC_PROG_LN_S
AC_PROG_MAKE_SET
AC_PROG_LIBTOOL
diff --git a/libdimension/Makefile.am b/libdimension/Makefile.am
index 8b55e64..74da1c6 100644
--- a/libdimension/Makefile.am
+++ b/libdimension/Makefile.am
@@ -103,7 +103,7 @@ libdimension_la_SOURCES = $(nobase_include_HEADERS) \
timer.c \
torus.c
libdimension_la_CFLAGS = $(AM_CFLAGS) -pthread
-libdimension_la_LDFLAGS = -version-info 0:0:0 $(AM_LDFLAGS)
+libdimension_la_LDFLAGS = -version-info 0:0:0 -no-undefined $(AM_LDFLAGS)
libdimension_la_LIBADD = -lm
if PNG