From 9129c3b3b6d8a1cdfb7a6500ef4eb20075aa2d53 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 17 Mar 2010 21:46:38 +1100 Subject: build: fixes from ita --- source4/wscript_build | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source4/wscript_build') 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') -- cgit