From 6488598c75e86a843b3bf444ccc3433d79098816 Mon Sep 17 00:00:00 2001 From: Brian Fraser Date: Thu, 2 Jan 2014 00:17:17 -0300 Subject: [PATCH] Configure, sysroot: Update defaults to use $sysroot --- Configure | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Configure b/Configure index ab60b3a..3e80e85 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 -- 2.7.4