diff options
Diffstat (limited to 'desiredata')
-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 |