From 5ad6369cd0b132935cc874c942ffffa0c4405101 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 26 Feb 2010 22:21:50 +1100 Subject: build: started to split up wafsamba.py into separate modules --- lib/replace/wscript | 5 ++++- lib/tdb/wscript | 5 +++++ lib/tevent/wscript | 4 ++++ 3 files changed, 13 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/replace/wscript b/lib/replace/wscript index aa610f3785..fa1d562582 100644 --- a/lib/replace/wscript +++ b/lib/replace/wscript @@ -1,7 +1,10 @@ srcdir = '../..' blddir = 'bin' -import Options, os, wafsamba +import sys +sys.path.insert(0, srcdir+"/buildtools/wafsamba") +import wafsamba +import Options, os def set_options(opt): opt.tool_options('compiler_cc') diff --git a/lib/tdb/wscript b/lib/tdb/wscript index 724030c84c..3e39ea82c8 100644 --- a/lib/tdb/wscript +++ b/lib/tdb/wscript @@ -3,6 +3,11 @@ VERSION='1.2.1' srcdir = '../..' blddir = 'bin' +import sys +sys.path.insert(0, srcdir+"/buildtools/wafsamba") +import wafsamba + + LIBREPLACE_DIR= srcdir + '/lib/replace' def set_options(opt): diff --git a/lib/tevent/wscript b/lib/tevent/wscript index 56607d1c63..be5405469c 100644 --- a/lib/tevent/wscript +++ b/lib/tevent/wscript @@ -3,6 +3,10 @@ VERSION = '0.9.8' srcdir = '../..' blddir = 'bin' +import sys +sys.path.insert(0, srcdir+"/buildtools/wafsamba") +import wafsamba + LIBREPLACE_DIR= srcdir + '/lib/replace' LIBTALLOC_DIR= srcdir + '/lib/talloc' -- cgit