diff options
Diffstat (limited to 'lib/replace/wscript')
-rw-r--r-- | lib/replace/wscript | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript index d8d690f5e1..63f96313dd 100644 --- a/lib/replace/wscript +++ b/lib/replace/wscript @@ -381,9 +381,12 @@ def build(bld): REPLACE_SOURCE = 'replace.c snprintf.c' - - if bld.CONFIG_SET('REPLACE_STRPTIME'): - REPLACE_SOURCE += ' strptime.c' + if bld.CONFIG_SET('REPLACE_STRPTIME'): REPLACE_SOURCE += ' strptime.c' + if not bld.CONFIG_SET('HAVE_TIMEGM'): REPLACE_SOURCE += ' timegm.c' + if not bld.CONFIG_SET('HAVE_GETIFADDRS'): REPLACE_SOURCE += ' getifaddrs.c' + if not bld.CONFIG_SET('HAVE_DLOPEN'): REPLACE_SOURCE += ' dlfcn.c' + if not bld.CONFIG_SET('HAVE_SOCKETPAIR'): REPLACE_SOURCE += ' socketpair.c' + if not bld.CONFIG_SET('HAVE_CONNECT'): REPLACE_SOURCE += ' socket.c' bld.SAMBA_LIBRARY('replace', source=REPLACE_SOURCE, |