wscript: Make non_posix_acls a subsystem
authorChristof Schmitt <cs@samba.org>
Fri, 11 Jan 2019 22:02:03 +0000 (15:02 -0700)
committerVolker Lendecke <vl@samba.org>
Fri, 18 Jan 2019 11:58:16 +0000 (12:58 +0100)
This fixes build error when building vfs_gpfs as static module:

ERROR: circular library dependency between smbd_base and non_posix_acls

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/modules/wscript_build

index db083f50646c4e18c9f8f1b3300ba2981be4b681..ef1d476ef6adfc83027560b1a000a273685daa67 100644 (file)
@@ -12,10 +12,9 @@ bld.SAMBA3_SUBSYSTEM('POSIXACL_XATTR',
                  enabled=(bld.SAMBA3_IS_ENABLED_MODULE('vfs_ceph') or bld.SAMBA3_IS_ENABLED_MODULE('vfs_glusterfs')),
                  deps='acl attr')
 
-bld.SAMBA3_LIBRARY('non_posix_acls',
+bld.SAMBA3_SUBSYSTEM('non_posix_acls',
                    source='non_posix_acls.c',
-                   deps='samba-util vfs',
-                   private_library=True)
+                   deps='samba-util vfs')
 
 bld.SAMBA3_SUBSYSTEM('VFS_VIRUSFILTER_UTILS',
                    source='vfs_virusfilter_utils.c',