summaryrefslogtreecommitdiff
path: root/source4/heimdal_build/wscript_build
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-10-30 11:07:40 +1100
committerAndrew Tridgell <tridge@samba.org>2010-10-30 23:49:00 +1100
commitdf34bb268566ea86f2b77ed7bb04983b8c05e4c3 (patch)
tree9b2c35ba4c34cd135ce9f540633da405dde4af36 /source4/heimdal_build/wscript_build
parent170c255f09a3d629bba86cf62c6a0cf81ff81bf1 (diff)
downloadsamba-df34bb268566ea86f2b77ed7bb04983b8c05e4c3.tar.gz
samba-df34bb268566ea86f2b77ed7bb04983b8c05e4c3.tar.bz2
samba-df34bb268566ea86f2b77ed7bb04983b8c05e4c3.zip
waf: build all libraries after all object files
this makes it easier to perform symbol checking before the link stage. The two new build groups symbolcheck and syslibcheck will be used by the symbols.py extension
Diffstat (limited to 'source4/heimdal_build/wscript_build')
-rw-r--r--source4/heimdal_build/wscript_build9
1 files changed, 7 insertions, 2 deletions
diff --git a/source4/heimdal_build/wscript_build b/source4/heimdal_build/wscript_build
index bd7e7aed14..8d0a8316ed 100644
--- a/source4/heimdal_build/wscript_build
+++ b/source4/heimdal_build/wscript_build
@@ -214,7 +214,7 @@ def HEIMDAL_LIBRARY(libname, source, deps, vnum,
features = 'cc cshlib symlink_lib install_lib'
- bld.set_group('main')
+ bld.set_group('libraries')
t = bld(
features = features,
source = [],
@@ -297,6 +297,11 @@ def HEIMDAL_BINARY(binname, source,
obj_target = binname + '.objlist'
+ if group == 'binaries':
+ subsystem_group = 'main'
+ else:
+ subsystem_group = group
+
# first create a target for building the object files for this binary
# by separating in this way, we avoid recompiling the C files
# separately for the install binary and the build binary
@@ -305,7 +310,7 @@ def HEIMDAL_BINARY(binname, source,
deps = deps,
includes = includes,
cflags = cflags,
- group = group,
+ group = subsystem_group,
use_hostcc = use_hostcc,
use_global_deps= use_global_deps)