summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorBrian Fraser <fraserbn@gmail.com>2014-01-02 00:17:17 -0300
committerBrian Fraser <fraserbn@gmail.com>2014-01-13 23:52:01 -0300
commit6488598c75e86a843b3bf444ccc3433d79098816 (patch)
treed226c876874cdd0dc3049c5672e7957966e42123 /Configure
parent24e2d532182eb0c566d5c21c140f82b46e22a527 (diff)
downloadperl-6488598c75e86a843b3bf444ccc3433d79098816.tar.gz
Configure, sysroot: Update defaults to use $sysroot
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure10
1 files changed, 10 insertions, 0 deletions
diff --git a/Configure b/Configure
index ab60b3ac5b..3e80e852cc 100755
--- a/Configure
+++ b/Configure
@@ -1979,6 +1979,16 @@ if test "X$sysroot" != X; then
# same with cccdlflags
;;
esac
+
+ # Adjust some defaults to also use $sysroot
+ for var in xlibpth loclibpth locincpth glibpth; do
+ eval xxx=\$$var
+ eval $var=''
+ for path in $xxx; do
+ eval $var=\"\$$var $sysroot$path\"
+ done
+ done
+
fi
: Eunice requires " " instead of "", can you believe it