mirror of
https://github.com/samba-team/samba.git
synced 2025-01-27 14:04:05 +03:00
heimdal_build: Make HEIMDAL_BINARY be based on HEIMDAL_SUBSYSTEM
This is imporatant as it ensures that the warning -> error logic and overrides are done for source files directly listed in a HEIMDAL_BINARY and a HEIMDAL_SUBSYSTEM. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
This commit is contained in:
parent
2ccd5c096a
commit
3bb4a0df36
@ -317,17 +317,27 @@ def HEIMDAL_BINARY(binname, source,
|
||||
|
||||
source = heimdal_paths(source)
|
||||
|
||||
obj_target = binname + '.heimdal.objlist'
|
||||
|
||||
HEIMDAL_SUBSYSTEM(obj_target,
|
||||
source = source,
|
||||
deps = deps,
|
||||
includes = includes,
|
||||
cflags = cflags,
|
||||
group = group,
|
||||
use_hostcc = use_hostcc,
|
||||
use_global_deps= use_global_deps)
|
||||
|
||||
bld.SAMBA_BINARY(binname,
|
||||
source = source,
|
||||
deps = deps,
|
||||
source = '',
|
||||
deps = obj_target,
|
||||
includes = includes,
|
||||
cflags = cflags,
|
||||
group = group,
|
||||
use_hostcc = use_hostcc,
|
||||
use_global_deps= use_global_deps,
|
||||
install_path = None,
|
||||
install = install,
|
||||
allow_warnings = True)
|
||||
install = install)
|
||||
|
||||
|
||||
if not bld.CONFIG_SET('USING_SYSTEM_ROKEN'):
|
||||
|
Loading…
x
Reference in New Issue
Block a user