From a5c50a560bc1a6b54a26688cfb77b46e769f2c18 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Thu, 29 Jan 2015 15:37:02 +0100 Subject: [PATCH] libffi: Don't be smart about toolexeclibdir --- configure.ac | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/configure.ac b/configure.ac index e49a788..d3c7c47 100644 --- a/configure.ac +++ b/configure.ac @@ -348,28 +348,7 @@ AC_ARG_ENABLE(multi-os-directory, [ --disable-multi-os-directory disable use of gcc --print-multi-os-directory to change the library installation directory]) -# These variables are only ever used when we cross-build to X86_WIN32. -# And we only support this with GCC, so... -if test "x$GCC" = "xyes"; then - if test -n "$with_cross_host" && - test x"$with_cross_host" != x"no"; then - toolexecdir="${exec_prefix}"/'$(target_alias)' - toolexeclibdir="${toolexecdir}"/lib - else - toolexecdir="${libdir}"/gcc-lib/'$(target_alias)' - toolexeclibdir="${libdir}" - fi - if test x"$enable_multi_os_directory" != x"no"; then - multi_os_directory=`$CC $CFLAGS -print-multi-os-directory` - case $multi_os_directory in - .) ;; # Avoid trailing /. - ../*) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;; - esac - fi - AC_SUBST(toolexecdir) -else - toolexeclibdir="${libdir}" -fi +toolexeclibdir="${libdir}" AC_SUBST(toolexeclibdir) # Check linker support. -- 2.11.0