diff options
author | Kai Tietz <ktietz@redhat.com> | 2012-02-10 17:44:08 +0100 |
---|---|---|
committer | Kai Tietz <ktietz@gcc.gnu.org> | 2012-02-10 17:44:08 +0100 |
commit | 1e98f62d742e5c5a56f150d5e857dd083d9a10d9 (patch) | |
tree | 842a89d6894124ad032c56380be49334ebb65b49 /libffi/configure.ac | |
parent | 8bd373026eaf4fe6d6ce7c5047f10dd85e29b942 (diff) | |
download | gcc-1e98f62d742e5c5a56f150d5e857dd083d9a10d9.zip gcc-1e98f62d742e5c5a56f150d5e857dd083d9a10d9.tar.gz gcc-1e98f62d742e5c5a56f150d5e857dd083d9a10d9.tar.bz2 |
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
Diffstat (limited to 'libffi/configure.ac')
-rw-r--r-- | libffi/configure.ac | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libffi/configure.ac b/libffi/configure.ac index 0788b31..5036e25 100644 --- a/libffi/configure.ac +++ b/libffi/configure.ac @@ -166,6 +166,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-*-*) |