ldb: Free memory when repacking database
[garming/samba-autobuild/.git] / configure
index 72f758e5adc3846b239cc7c438a5ee7843668d1f..a6ca50feb4702929fa499d516977fce235fa0789 100755 (executable)
--- a/configure
+++ b/configure
@@ -9,6 +9,9 @@ WAF=./buildtools/bin/waf
 JOBS=1
 export JOBS
 
+# Make sure we don't have any library preloaded.
+unset LD_PRELOAD
+
 cd . || exit 1
-$WAF configure "$@" || exit 1
+$PYTHON $WAF configure "$@" || exit 1
 cd $PREVPATH