]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
Allow libtool path to be hinted
authorOndřej Kuzník <ondra@mistotebe.net>
Fri, 19 Mar 2021 12:49:11 +0000 (12:49 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Fri, 26 Mar 2021 16:36:26 +0000 (16:36 +0000)
tests/scripts/defines.sh

index 82d64499b8c54c35a2eb44035c63d186d6297095..9928ad426182054e5329684e40f4ee210d3605c5 100755 (executable)
@@ -192,6 +192,7 @@ SLURPLOG=$TESTDIR/slurp.log
 
 CONFIGPWF=$TESTDIR/configpw
 
+LIBTOOL="${LIBTOOL-$TESTWD/../libtool}"
 # wrappers (valgrind, gdb, environment variables, etc.)
 if [ -n "$WRAPPER" ]; then
        : # skip
@@ -206,7 +207,7 @@ elif [ "$SLAPD_COMMON_WRAPPER" = vgdb ]; then
 fi
 
 if [ -n "$WRAPPER" ]; then
-       SLAPD_WRAPPER="$TESTWD/../libtool --mode=execute env $WRAPPER"
+       SLAPD_WRAPPER="$LIBTOOL --mode=execute env $WRAPPER"
 fi
 
 # args