From 30f3a8661996a47c3237d4e553666f0d8b2be08e Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 11 Jun 2014 13:57:26 +0200 Subject: 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 --- script/autobuild.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/autobuild.py b/script/autobuild.py index 3b634e86ed6..2eb1419519e 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"), -- cgit