diff options
-rw-r--r-- | lib/replace/wscript | 4 | ||||
-rw-r--r-- | source4/heimdal_build/wscript_build | 8 |
2 files changed, 7 insertions, 5 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript index 727682677c..236521d37e 100644 --- a/lib/replace/wscript +++ b/lib/replace/wscript @@ -307,9 +307,9 @@ def build(bld): if bld.CONFIG_SET('REPLACE_STRPTIME'): REPLACE_HOSTCC_SOURCE += ' strptime.c' if not bld.CONFIG_SET('HAVE_TIMEGM'): REPLACE_HOSTCC_SOURCE += ' timegm.c' - bld.SAMBA_SUBSYSTEM('LIBREPLACE_H', + bld.SAMBA_SUBSYSTEM('LIBREPLACE_HOSTCC', REPLACE_HOSTCC_SOURCE, - + use_hostcc=True, cflags='-DSOCKET_WRAPPER_DISABLE=1 -DNSS_WRAPPER_DISABLE=1 -D_SAMBA_HOSTCC_', group='compiler_libraries' ) diff --git a/source4/heimdal_build/wscript_build b/source4/heimdal_build/wscript_build index d40be0bc6e..7d2b59a853 100644 --- a/source4/heimdal_build/wscript_build +++ b/source4/heimdal_build/wscript_build @@ -397,9 +397,11 @@ bld.SAMBA_SUBSYSTEM('HEIMDAL_WIND', bld.SAMBA_SUBSYSTEM('HEIMDAL_ROKEN_H', HEIMDAL_ROKEN_H_SOURCE, + use_hostcc=True, includes='../heimdal/lib/roken', cflags='-DSOCKET_WRAPPER_DISABLE=1 -DNSS_WRAPPER_DISABLE=1 -D_SAMBA_HOSTCC_', - group='compiler_libraries' + group='compiler_libraries', + deps='LIBREPLACE_HOSTCC' ) @@ -418,7 +420,7 @@ bld.SAMBA_BINARY('asn1_compile', cflags='-DSOCKET_WRAPPER_DISABLE=1 -DNSS_WRAPPER_DISABLE=1 -D_SAMBA_HOSTCC_', includes='../heimdal/lib/asn1 ../heimdal/lib/roken', group='build_compilers', - deps='HEIMDAL_ROKEN_H LIBREPLACE_H', + deps='HEIMDAL_ROKEN_H LIBREPLACE_HOSTCC', install=False ) @@ -429,7 +431,7 @@ bld.SAMBA_BINARY('compile_et', includes='../heimdal/lib/com_err', group='build_compilers', cflags='-DSOCKET_WRAPPER_DISABLE=1 -DNSS_WRAPPER_DISABLE=1 -D_SAMBA_HOSTCC_', - deps='HEIMDAL_ROKEN_H LIBREPLACE_H', + deps='HEIMDAL_ROKEN_H LIBREPLACE_HOSTCC', install=False ) |