summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-02-26 22:21:50 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:38 +1000
commit5ad6369cd0b132935cc874c942ffffa0c4405101 (patch)
tree0e7f53926bcaa6a00f6ad53b86949d0ed18c059b /lib
parentec6049c93d0c1bc7f5dff1c7d87c58eca2114ab9 (diff)
downloadsamba-5ad6369cd0b132935cc874c942ffffa0c4405101.tar.gz
samba-5ad6369cd0b132935cc874c942ffffa0c4405101.tar.bz2
samba-5ad6369cd0b132935cc874c942ffffa0c4405101.zip
build: started to split up wafsamba.py into separate modules
Diffstat (limited to 'lib')
-rw-r--r--lib/replace/wscript5
-rw-r--r--lib/tdb/wscript5
-rw-r--r--lib/tevent/wscript4
3 files changed, 13 insertions, 1 deletions
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'