diff options
author | N.N. <matju@users.sourceforge.net> | 2009-04-26 17:47:08 +0000 |
---|---|---|
committer | N.N. <matju@users.sourceforge.net> | 2009-04-26 17:47:08 +0000 |
commit | 1af5773faa04e03fffc338b281cb8b9b38045a10 (patch) | |
tree | c66f43a45c163dbc1ec810be02597a16236afa3a /desiredata/src | |
parent | 5d76dd5632d800615c795c28bcc5090e2a50315b (diff) |
for win32 (from Patrice Colet)
svn path=/trunk/; revision=11154
Diffstat (limited to 'desiredata/src')
-rw-r--r-- | desiredata/src/configure.in | 10 |
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 |