X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=configure.ac;h=dc2af5829f7d1824e32c8d436b059abe0c5d93af;hb=refs%2Fheads%2Fcygwin-2.0-experimental;hp=2b6b68739f3717a984bb53e8ba3835611340eea8;hpb=1d1236d09c90104a604815040e4ec44cd77c79eb;p=lttng-tools.git diff --git a/configure.ac b/configure.ac index 2b6b68739..dc2af5829 100644 --- a/configure.ac +++ b/configure.ac @@ -187,6 +187,13 @@ AX_CONFIG_FEATURE( ) AM_CONDITIONAL([COMPAT_EPOLL], [ test "$enable_epoll" = "yes" ]) +case "${host}" in + # 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_SYS_LARGEFILE AC_PROG_CC LT_INIT