In order to build shared libraries on Cygwin/MinGW/Windows, all
symbols must be defined at link time. Activating the "-no-undefined"
flag will fail the build if it's not the case.
[ust_cv_i386_is_x86_64=no])
CPPFLAGS="$save_CPPFLAGS"])
;;
[ust_cv_i386_is_x86_64=no])
CPPFLAGS="$save_CPPFLAGS"])
;;
+ # All symbols must be resolved at link time on Cygwin/MinGW/Windows,
+ # else libtool will not be able to build shared libraries.
+ *-*-cygwin*)
+ LDFLAGS="-Wl,-no-undefined $LDFLAGS";;
esac
AC_MSG_CHECKING([library format for the host system])
esac
AC_MSG_CHECKING([library format for the host system])