diff options
Diffstat (limited to 'libvtv/configure')
-rwxr-xr-x | libvtv/configure | 28 |
1 files changed, 25 insertions, 3 deletions
diff --git a/libvtv/configure b/libvtv/configure index 64b6f759557..a7211b87f82 100755 --- a/libvtv/configure +++ b/libvtv/configure @@ -608,6 +608,7 @@ XCFLAGS libtool_VERSION enable_static enable_shared +lt_host_flags CXXCPP OTOOL64 OTOOL @@ -12129,7 +12130,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12132 "configure" +#line 12133 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12235,7 +12236,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12238 "configure" +#line 12239 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -15488,7 +15489,28 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu # Only expand once: -ACX_LT_HOST_FLAGS + + + +case $host in + *-cygwin* | *-mingw*) + # 'host' will be top-level target in the case of a target lib, + # we must compare to with_cross_host to decide if this is a native + # or cross-compiler and select where to install dlls appropriately. + if test -n "$with_cross_host" && + test x"$with_cross_host" != x"no"; then + lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"'; + else + lt_host_flags='-no-undefined -bindir "$(bindir)"'; + fi + ;; + *) + lt_host_flags= + ;; +esac + + + |