diff options
Diffstat (limited to 'libffi/configure')
-rwxr-xr-x | libffi/configure | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libffi/configure b/libffi/configure index bdf13a8da50..0a812deea19 100755 --- a/libffi/configure +++ b/libffi/configure @@ -3661,7 +3661,11 @@ else toolexecdir='$(libdir)/gcc-lib/$(target_alias)' toolexeclibdir='$(libdir)' fi -toolexeclibdir=$toolexeclibdir/`$CC -print-multi-os-directory` +multi_os_directory=`$CC -print-multi-os-directory` +case $multi_os_directory in + .) ;; # Avoid trailing /. + *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;; +esac |