aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorN.N. <matju@users.sourceforge.net>2009-04-26 17:47:08 +0000
committerN.N. <matju@users.sourceforge.net>2009-04-26 17:47:08 +0000
commit1af5773faa04e03fffc338b281cb8b9b38045a10 (patch)
treec66f43a45c163dbc1ec810be02597a16236afa3a
parent5d76dd5632d800615c795c28bcc5090e2a50315b (diff)
for win32 (from Patrice Colet)
svn path=/trunk/; revision=11154
-rw-r--r--desiredata/src/configure.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/desiredata/src/configure.in b/desiredata/src/configure.in
index df89a181..5528ba53 100644
--- a/desiredata/src/configure.in
+++ b/desiredata/src/configure.in
@@ -106,6 +106,16 @@ if test `uname -s | cut -f1 -d_` = CYGWIN; then
LDSOFLAGS="-shared"
fi
+if test `uname -s | cut -f1 -d_` = MINGW; then
+ LDFLAGS="-Wl,-export-dynamic "
+ EXT=dll
+ LIBSUFFIX=.dll
+ CPPFLAGS=" -DMSW -DDL_OPEN -DUNISTD"
+ MORECFLAGS="-fno-strict-aliasing"
+ STRIPFLAG=-s
+ LDSOFLAGS="-shared"
+fi
+
if test `uname -m` = x86_64; then
MORECFLAGS=$MORECFLAGS" -fPIC"
fi