summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-07-26 11:15:14 +1000
committerAndrew Tridgell <tridge@samba.org>2010-07-26 11:19:59 +1000
commit059ad34e0f61459fb5d9e0a845d3ac0d8df1b49d (patch)
tree14752be614f0ec09f5ffec4e60bc1abf4bceb4b8 /lib
parent334d5bfe30188a42af758db3f6a3551dd074900a (diff)
downloadsamba-059ad34e0f61459fb5d9e0a845d3ac0d8df1b49d.tar.gz
samba-059ad34e0f61459fb5d9e0a845d3ac0d8df1b49d.tar.xz
samba-059ad34e0f61459fb5d9e0a845d3ac0d8df1b49d.zip
lib: added samba-util.pc creation
Thanks to Brad Hards for this patch
Diffstat (limited to 'lib')
-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 00000000000..e61ee4455a9
--- /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 a606058403d..0da6ec5b265 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'
)