]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
lib/util: Expose few more subsystems for standalone ctdb build
authorAmitay Isaacs <amitay@gmail.com>
Sun, 15 May 2016 11:44:22 +0000 (21:44 +1000)
committerVolker Lendecke <vl@samba.org>
Tue, 7 Jun 2016 12:34:10 +0000 (14:34 +0200)
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
lib/util/wscript_build

index d8c9f221abc90992194bea4183e10ed69083b16d..6d2ab4ac27f201d6e7cbdd497d70246469afda93 100755 (executable)
@@ -70,6 +70,23 @@ bld.SAMBA_SUBSYSTEM('samba-util-core',
                             tevent execinfo pthread strv''',
                     local_include=False)
 
+bld.SAMBA_LIBRARY('iov_buf',
+                  source='iov_buf.c',
+                  local_include=False,
+                  private_library=True)
+
+bld.SAMBA_LIBRARY('msghdr',
+                  source='msghdr.c',
+                  deps='replace iov_buf',
+                  local_include=False,
+                  private_library=True)
+
+bld.SAMBA_LIBRARY('sys_rw',
+                  source='sys_rw.c sys_rw_data.c',
+                  deps='replace iov_buf',
+                  local_include=False,
+                  private_library=True)
+
 if bld.env.SAMBA_UTIL_CORE_ONLY:
 
     bld.SAMBA_LIBRARY('tevent-util',
@@ -182,20 +199,3 @@ else:
                       deps='talloc tdb strv util_tdb tdb-wrap samba-util',
                       local_include=False,
                       private_library=True)
-
-    bld.SAMBA_LIBRARY('iov_buf',
-                      source='iov_buf.c',
-                      local_include=False,
-                      private_library=True)
-
-    bld.SAMBA_LIBRARY('msghdr',
-                      source='msghdr.c',
-                      deps='replace iov_buf',
-                      local_include=False,
-                      private_library=True)
-
-    bld.SAMBA3_LIBRARY('sys_rw',
-                       source='sys_rw.c sys_rw_data.c',
-                       deps='replace iov_buf',
-                       local_include=False,
-                       private_library=True)