projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24e2d53
)
Configure, sysroot: Update defaults to use $sysroot
author
Brian Fraser
<fraserbn@gmail.com>
Thu, 2 Jan 2014 03:17:17 +0000
(
00:17
-0300)
committer
Brian Fraser
<fraserbn@gmail.com>
Tue, 14 Jan 2014 02:52:01 +0000
(23:52 -0300)
Configure
patch
|
blob
|
history
diff --git
a/Configure
b/Configure
index
ab60b3a
..
3e80e85
100755
(executable)
--- 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