From: Michael Adam Date: Wed, 11 Jun 2014 11:57:26 +0000 (+0200) Subject: autobuild: add cflags and ldflags to find locally installed tdb X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=30f3a8661996a47c3237d4e553666f0d8b2be08e;p=metze%2Fsamba%2Fwip.git autobuild: add cflags and ldflags to find locally installed tdb So that we can find our self-installed tdb lib and use new features. Signed-off-by: Michael Adam Reviewed-by: Amitay Isaacs --- diff --git a/script/autobuild.py b/script/autobuild.py index 3b634e86ed63..2eb1419519e3 100755 --- a/script/autobuild.py +++ b/script/autobuild.py @@ -61,7 +61,7 @@ tasks = { # build and install ctdb: ("ctdb-autogen", "cd ./ctdb && ./autogen.sh", "text/plain"), - ("ctdb-configure", "cd ./ctdb && ./configure ${PREFIX} --enable-socket-wrapper --with-included-tdb=no", "text/plain"), + ("ctdb-configure", "cd ./ctdb && CFLAGS=-I${PREFIX_DIR}/include LDFLAGS=-L${PREFIX_DIR}/lib ./configure ${PREFIX} --enable-socket-wrapper --with-included-tdb=no", "text/plain"), ("ctdb-make", "cd ./ctdb && make all", "text/plain"), ("ctdb-install", "cd ./ctdb && make install", "text/plain"), ("ctdb-header-ls", "ls ${PREFIX_DIR}/include/ctdb.h", "text/plain"),