diff --git a/libs/apr/configure.gnu b/libs/apr/configure.gnu index a22f176e74..c78238de46 100644 --- a/libs/apr/configure.gnu +++ b/libs/apr/configure.gnu @@ -1,3 +1,4 @@ #! /bin/sh -./configure "$@" --disable-shared --with-pic +srcpath=$(dirname $0 2>/dev/null ) || srcpath="." +$srcpath/configure "$@" --disable-shared --with-pic