From: Andrew Bartlett Date: Sun, 3 Jun 2012 22:47:03 +0000 (+1000) Subject: libreplace: Ensure we link xattr.c on MacOS X-Git-Tag: samba-4.0.0beta1~25 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=01106230ddc8da90e2ff2667dd3702e3c110f720;p=thirdparty%2Fsamba.git libreplace: Ensure we link xattr.c on MacOS Autobuild-User: Andrew Bartlett Autobuild-Date: Mon Jun 4 02:36:55 CEST 2012 on sn-devel-104 --- diff --git a/lib/replace/wscript b/lib/replace/wscript index b998677cc15..a5a4486dc91 100644 --- a/lib/replace/wscript +++ b/lib/replace/wscript @@ -518,7 +518,7 @@ def build(bld): if not bld.CONFIG_SET('HAVE_INET_ATON'): REPLACE_SOURCE += ' inet_aton.c' if not bld.CONFIG_SET('HAVE_INET_NTOP'): REPLACE_SOURCE += ' inet_ntop.c' if not bld.CONFIG_SET('HAVE_INET_PTON'): REPLACE_SOURCE += ' inet_pton.c' - if not bld.CONFIG_SET('HAVE_GETXATTR') or bld.CONFIG_SET('XATTR_ADD_OPT'): + if not bld.CONFIG_SET('HAVE_GETXATTR') or bld.CONFIG_SET('XATTR_ADDITIONAL_OPTIONS'): REPLACE_SOURCE += ' xattr.c' bld.SAMBA_LIBRARY('replace',