summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2014-06-11 13:57:26 +0200
committerMichael Adam <obnox@samba.org>2014-06-17 09:33:10 +0200
commit30f3a8661996a47c3237d4e553666f0d8b2be08e (patch)
treeed6ea94e728e8f5a5b0ccbb64477b4fceefbfe2f
parent5334881afab42eae77bb2015ec21cbfe1df87807 (diff)
downloadsamba-30f3a8661996a47c3237d4e553666f0d8b2be08e.zip
samba-30f3a8661996a47c3237d4e553666f0d8b2be08e.tar.gz
samba-30f3a8661996a47c3237d4e553666f0d8b2be08e.tar.xz
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 <obnox@samba.org> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
-rwxr-xr-xscript/autobuild.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/autobuild.py b/script/autobuild.py
index 3b634e8..2eb1419 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"),