summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
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'