summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-04-12 09:12:29 +0200
committerStefan Metzmacher <metze@samba.org>2010-04-12 09:13:42 +0200
commitb1393087ace8289a13e09e5246ac0efec560e959 (patch)
treec662a7bd858cfbd21de53cdcb6dc5e9341a4157a /lib
parent0d307f25a051544047563a40de4df344c17f0d9f (diff)
downloadsamba-b1393087ace8289a13e09e5246ac0efec560e959.tar.gz
samba-b1393087ace8289a13e09e5246ac0efec560e959.tar.bz2
samba-b1393087ace8289a13e09e5246ac0efec560e959.zip
lib/replace/wscript: rename REPLACE_H_SOURCE => REPLACE_HOSTCC_SOURCE
metze
Diffstat (limited to 'lib')
-rw-r--r--lib/replace/wscript11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript
index 43e8e9ac40..5457b175d1 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -295,18 +295,19 @@ def configure(conf):
def build(bld):
bld.RECURSE('buildtools/wafsamba')
- REPLACE_H_SOURCE = 'replace.c snprintf.c'
+ REPLACE_HOSTCC_SOURCE = 'replace.c snprintf.c'
- if bld.CONFIG_SET('REPLACE_STRPTIME'): REPLACE_H_SOURCE += ' strptime.c'
- if not bld.CONFIG_SET('HAVE_TIMEGM'): REPLACE_H_SOURCE += ' timegm.c'
+ 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',
- REPLACE_H_SOURCE,
+ REPLACE_HOSTCC_SOURCE,
+
cflags='-DSOCKET_WRAPPER_DISABLE=1 -DNSS_WRAPPER_DISABLE=1 -D_SAMBA_HOSTCC_',
group='compiler_libraries'
)
- REPLACE_SOURCE = REPLACE_H_SOURCE
+ REPLACE_SOURCE = REPLACE_HOSTCC_SOURCE
if bld.CONFIG_SET('REPLACE_GETPASS'): REPLACE_SOURCE += ' getpass.c'