From 1af5773faa04e03fffc338b281cb8b9b38045a10 Mon Sep 17 00:00:00 2001 From: "N.N." Date: Sun, 26 Apr 2009 17:47:08 +0000 Subject: for win32 (from Patrice Colet) svn path=/trunk/; revision=11154 --- desiredata/src/configure.in | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- cgit v1.2.1