diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-04-12 09:33:42 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-04-12 12:31:13 +0200 |
commit | 14c05405cbae886ca741340f3cc2b148b3cd3ae4 (patch) | |
tree | 09a52ce4b4e22fa28b30c69d687341f2f588bb87 | |
parent | 8a00c566492943972798a96a9e23bc74083902ec (diff) | |
download | samba-14c05405cbae886ca741340f3cc2b148b3cd3ae4.tar.gz samba-14c05405cbae886ca741340f3cc2b148b3cd3ae4.tar.bz2 samba-14c05405cbae886ca741340f3cc2b148b3cd3ae4.zip |
lib/replace/wscript: rename LIBREPLACE_H => LIBREPLACE_HOSTCC
metze
-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 ) |