X-Git-Url: http://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=configure.ac;fp=configure.ac;h=dc2af5829f7d1824e32c8d436b059abe0c5d93af;hp=2b6b68739f3717a984bb53e8ba3835611340eea8;hb=387bdf2d8afb233b1a35d4b90686c49e2b269d29;hpb=993016f83d9e868d655c0a76a753a4e955aa0ae9 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