summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/util/samba-util.pc.in11
-rw-r--r--lib/util/wscript_build3
2 files changed, 13 insertions, 1 deletions
diff --git a/lib/util/samba-util.pc.in b/lib/util/samba-util.pc.in
new file mode 100644
index 0000000000..e61ee4455a
--- /dev/null
+++ b/lib/util/samba-util.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: samba-util
+Description: Samba utility functions
+Requires: talloc tevent
+Version: 0.0.1
+Libs: -L${libdir} -lsamba-util
+Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1
diff --git a/lib/util/wscript_build b/lib/util/wscript_build
index a606058403..0da6ec5b26 100644
--- a/lib/util/wscript_build
+++ b/lib/util/wscript_build
@@ -6,7 +6,8 @@ bld.SAMBA_LIBRARY('LIBSAMBA-UTIL',
public_headers='attr.h byteorder.h data_blob.h debug.h memory.h mutex.h safe_string.h time.h talloc_stack.h xfile.h dlinklist.h util.h tevent_ntstatus.h tevent_unix.h',
header_path= [ ('dlinklist.h util.h', '.'), ('*', 'util') ],
local_include=False,
- vnum='0.0.1'
+ vnum='0.0.1',
+ pc_files='samba-util.pc'
)