diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-07-26 11:15:14 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-07-26 11:19:59 +1000 |
commit | 059ad34e0f61459fb5d9e0a845d3ac0d8df1b49d (patch) | |
tree | 14752be614f0ec09f5ffec4e60bc1abf4bceb4b8 /lib/util | |
parent | 334d5bfe30188a42af758db3f6a3551dd074900a (diff) | |
download | samba-059ad34e0f61459fb5d9e0a845d3ac0d8df1b49d.tar.gz samba-059ad34e0f61459fb5d9e0a845d3ac0d8df1b49d.tar.bz2 samba-059ad34e0f61459fb5d9e0a845d3ac0d8df1b49d.zip |
lib: added samba-util.pc creation
Thanks to Brad Hards for this patch
Diffstat (limited to 'lib/util')
-rw-r--r-- | lib/util/samba-util.pc.in | 11 | ||||
-rw-r--r-- | lib/util/wscript_build | 3 |
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' ) |