From df34bb268566ea86f2b77ed7bb04983b8c05e4c3 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 30 Oct 2010 11:07:40 +1100 Subject: 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 --- source4/heimdal_build/wscript_build | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'source4') 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) -- cgit