s4-libcli: make LIBSAMBA-ERRORS a private library
authorAndrew Tridgell <tridge@samba.org>
Thu, 21 Oct 2010 01:57:56 +0000 (12:57 +1100)
committerAndrew Tridgell <tridge@samba.org>
Thu, 21 Oct 2010 08:03:25 +0000 (19:03 +1100)
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

source4/libcli/wscript_build

index dad292ed48acac446b0514b598c2f3a6056a6ac1..0acf8053ba37a3ca8e98bc499aac10615ad82d8f 100644 (file)
@@ -4,12 +4,13 @@ bld.RECURSE('ldap')
 bld.RECURSE('security')
 bld.RECURSE('wbclient')
 
-bld.SAMBA_SUBSYSTEM('LIBSAMBA-ERRORS',
-       source='../../libcli/util/doserr.c util/errormap.c util/nterr.c',
-       public_headers='../../libcli/util/error.h ../../libcli/util/ntstatus.h ../../libcli/util/doserr.h ../../libcli/util/werror.h',
-        header_path='core',
-        deps='talloc'
-       )
+bld.SAMBA_LIBRARY('LIBSAMBA-ERRORS',
+                  source='../../libcli/util/doserr.c util/errormap.c util/nterr.c',
+                  public_headers='../../libcli/util/error.h ../../libcli/util/ntstatus.h ../../libcli/util/doserr.h ../../libcli/util/werror.h',
+                  header_path='core',
+                  deps='talloc',
+                  private_library=True
+                  )
 
 
 bld.SAMBA_SUBSYSTEM('LIBSAMBA_TSOCKET',