summaryrefslogtreecommitdiff
path: root/libcli/util/wscript_build
diff options
context:
space:
mode:
Diffstat (limited to 'libcli/util/wscript_build')
-rw-r--r--libcli/util/wscript_build11
1 files changed, 7 insertions, 4 deletions
diff --git a/libcli/util/wscript_build b/libcli/util/wscript_build
index d87f0ba88e..a364d30f03 100644
--- a/libcli/util/wscript_build
+++ b/libcli/util/wscript_build
@@ -1,8 +1,11 @@
#!/usr/bin/env python
-bld.SAMBA_SUBSYSTEM('LIBCLI_ERRORS',
- source='doserr.c errormap.c nterr.c',
- public_deps='talloc samba-util-common'
- )
+bld.SAMBA_LIBRARY('errors',
+ public_headers='error.h ntstatus.h doserr.h werror.h',
+ header_path='core',
+ source='doserr.c errormap.c nterr.c errmap_unix.c',
+ public_deps='talloc samba-util-common',
+ private_library=True
+ )