X-Git-Url: http://git.lttng.org/?p=lttng-ust.git;a=blobdiff_plain;f=configure.ac;fp=configure.ac;h=22d5ee5d6bd782ab8c0a836cfea843b85c89a4bd;hp=511da2e95c8b672efb593824cd684cb139030664;hb=858276a2e832704ad5c461e5db22cfd6c978b87a;hpb=dc58067e5a8b6717acd5c2d9031755aeb67e7cc1 diff --git a/configure.ac b/configure.ac index 511da2e9..22d5ee5d 100644 --- a/configure.ac +++ b/configure.ac @@ -169,6 +169,10 @@ got it [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])