summaryrefslogtreecommitdiff
path: root/source4/wscript_build
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-17 21:46:38 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:40 +1000
commit9129c3b3b6d8a1cdfb7a6500ef4eb20075aa2d53 (patch)
tree799fa74dad562244b7936eb6e2112c4bce6ae676 /source4/wscript_build
parentc8f4ca41f69993afd9b4d753812d3056c91f0db5 (diff)
downloadsamba-9129c3b3b6d8a1cdfb7a6500ef4eb20075aa2d53.tar.gz
samba-9129c3b3b6d8a1cdfb7a6500ef4eb20075aa2d53.tar.bz2
samba-9129c3b3b6d8a1cdfb7a6500ef4eb20075aa2d53.zip
build: fixes from ita
Diffstat (limited to 'source4/wscript_build')
-rw-r--r--source4/wscript_build6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/wscript_build b/source4/wscript_build
index 48a4060b26..04fef67927 100644
--- a/source4/wscript_build
+++ b/source4/wscript_build
@@ -1,9 +1,15 @@
# top level waf build script for samba4
+import os
+srcdir = ".."
+
+bld.env.TOPDIR = os.path.normpath(os.path.join(os.environ.get('PWD'), srcdir))
+
# create separate build groups for building the asn1 and et compiler, then
# building the C from ASN1 and IDL, and finally the main build process
bld.SETUP_BUILD_GROUPS()
+bld.ENABLE_MAGIC_ORDERING()
bld.PREDECLARE('LIBNDR', 'LIBRARY')
bld.PREDECLARE('LIBSAMBA-UTIL', 'LIBRARY')