s3:waf fix build on AIX
authorStefan Metzmacher <metze@samba.org>
Mon, 18 Mar 2013 11:52:50 +0000 (11:52 +0000)
committerChristian Ambach <ambi@samba.org>
Thu, 21 Mar 2013 15:31:19 +0000 (16:31 +0100)
AIX acl code needs to be built by default on AIX,
otherwise smbd will fail to start because of missing symbols

This fixes Bug 9557 - build succeeds, but binaries don't run

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Christian Ambach <ambi@samba.org>
Autobuild-User(master): Christian Ambach <ambi@samba.org>
Autobuild-Date(master): Thu Mar 21 16:31:19 CET 2013 on sn-devel-104

source3/modules/wscript_build

index ef5748ceef640406fc856feeed8acd2b4d9eac3f..8f08d52c03374a17c894e675fd315d9399e919ee 100644 (file)
@@ -63,7 +63,7 @@ bld.SAMBA3_LIBRARY('non_posix_acls',
 
 bld.SAMBA3_SUBSYSTEM('VFS_AIXACL_UTIL',
                     source='vfs_aixacl_util.c',
-                    enabled=False) #fixme
+                    enabled=(bld.SAMBA3_IS_ENABLED_MODULE('vfs_aixacl') or bld.SAMBA3_IS_ENABLED_MODULE('vfs_aixacl2')))
 
 bld.SAMBA3_SUBSYSTEM('vfs',
                     source='',