summaryrefslogtreecommitdiff
path: root/zlib/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'zlib/configure.in')
-rw-r--r--zlib/configure.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/zlib/configure.in b/zlib/configure.in
index 224f1de5834..0d5588d71a3 100644
--- a/zlib/configure.in
+++ b/zlib/configure.in
@@ -123,6 +123,9 @@ else
fi
if test "$GCC" = yes && $CC -print-multi-os-directory > /dev/null 2>&1; then
multiosdir=/`$CC -print-multi-os-directory`
+ case $multiosdir in
+ /.) multiosdir= ;; # Avoid trailing /.
+ esac
else
multiosdir=
fi