From a382e6d64c6aa85d636c2a2dc508c8c9dd55d320 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sun, 5 Dec 2021 06:34:45 +0000 Subject: configure: add var control tweak and DESTDIR support for slashpackage Signed-off-by: Laurent Bercot --- configure | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 34d59b4..ea5aabb 100755 --- a/configure +++ b/configure @@ -192,7 +192,7 @@ for arg ; do --host=*|--target=*) target=${arg#*=} ;; --build=*) build=${arg#*=} ;; -* ) echo "$0: unknown option $arg" ;; - *=*) ;; + *=*) eval "$arg" ;; *) target=$arg ;; esac done @@ -256,11 +256,11 @@ if $slashpackage ; then cond=true fi if $cond ; then - addincpath="$addincpath -I${sproot}${dep}/include" - vpaths="$vpaths ${sproot}${dep}/library" - addlibspath="$addlibspath -L${sproot}${dep}/library" - vpathd="$vpathd ${sproot}${dep}/library.so" - addlibdpath="$addlibdpath -L${sproot}${dep}/library.so" + addincpath="$addincpath -I${DESTDIR}${sproot}${dep}/include" + vpaths="$vpaths ${DESTDIR}${sproot}${dep}/library" + addlibspath="$addlibspath -L${DESTDIR}${sproot}${dep}/library" + vpathd="$vpathd ${DESTDIR}${sproot}${dep}/library.so" + addlibdpath="$addlibdpath -L${DESTDIR}${sproot}${dep}/library.so" fi done < package/deps-build fi -- cgit 1.4.1