diff --git a/libs/openzap/configure.gnu b/libs/openzap/configure.gnu index 5785ffc0e7..002d5eab53 100644 --- a/libs/openzap/configure.gnu +++ b/libs/openzap/configure.gnu @@ -1,3 +1,4 @@ #! /bin/sh -./configure "$@" --with-pic +srcpath=$(dirname $0 2>/dev/null ) || srcpath="." +$srcpath/configure "$@" --with-pic