libreplace: Ensure we link xattr.c on MacOS
authorAndrew Bartlett <abartlet@samba.org>
Sun, 3 Jun 2012 22:47:03 +0000 (08:47 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 4 Jun 2012 00:36:55 +0000 (02:36 +0200)
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Mon Jun  4 02:36:55 CEST 2012 on sn-devel-104

lib/replace/wscript

index b998677cc1522b255898d48f21e9ecef084dc847..a5a4486dc91b83e865dc1cb7c6cb5148e84a6a28 100644 (file)
@@ -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',