From 1e98f62d742e5c5a56f150d5e857dd083d9a10d9 Mon Sep 17 00:00:00 2001 From: Kai Tietz Date: Fri, 10 Feb 2012 17:44:08 +0100 Subject: configure.ac (AM_LTLDFLAGS): Add -no-undefine for x64 windows target. * configure.ac (AM_LTLDFLAGS): Add -no-undefine for x64 windows target. * configure: Regenerated. From-SVN: r184103 --- libffi/configure | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'libffi/configure') diff --git a/libffi/configure b/libffi/configure index 7a7d245..1591495 100755 --- a/libffi/configure +++ b/libffi/configure @@ -11435,6 +11435,15 @@ case "$host" in x86_64-*-cygwin* | x86_64-*-mingw*) TARGET=X86_WIN64; TARGETDIR=x86 + # All mingw/cygwin/win32 builds require -no-undefined for sharedlib. + # We must also check with_cross_host to decide if this is a native + # or cross-build and select where to install dlls appropriately. + if test -n "$with_cross_host" && + test x"$with_cross_host" != x"no"; then + AM_LTLDFLAGS='-no-undefined -bindir "$(toolexeclibdir)"'; + else + AM_LTLDFLAGS='-no-undefined -bindir "$(bindir)"'; + fi ;; x86_64-*-*) -- cgit v1.1