summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 46d146135..295c1b490 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1031,6 +1031,13 @@ case "$host_or_hostalias" in
AC_DEFINE(FPM_INTEL,1,[Define to select libmad fixed point arithmetic implementation])
enable_ffmmx="yes"
enable_w32dll="yes"
+
+ case "$host_or_hostalias" in
+ *-*-cygwin)
+ enable_w32dll="no"
+ LDFLAGS="$LDFLAGS -no-undefined @INTLLIBS@"
+ ;;
+ esac
else
dnl add x86 specific cc CFLAGS
CFLAGS="$CFLAGS -O"