summaryrefslogtreecommitdiff
path: root/nsswitch/libwbclient
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-08-20 02:34:16 +0200
committerJelmer Vernooij <jelmer@samba.org>2011-08-21 03:22:04 +0200
commit2b4028359135058700456eb3720ece105611425f (patch)
tree59e98f8ecffc83084427b298f823887fabb3ef3d /nsswitch/libwbclient
parent7ebdd3f68306d7d36ee5dfbc294815603525b6db (diff)
downloadsamba-2b4028359135058700456eb3720ece105611425f.tar.gz
samba-2b4028359135058700456eb3720ece105611425f.tar.bz2
samba-2b4028359135058700456eb3720ece105611425f.zip
wbclient: Add pkg-config file.
Diffstat (limited to 'nsswitch/libwbclient')
-rw-r--r--nsswitch/libwbclient/wbclient.pc.in11
-rw-r--r--nsswitch/libwbclient/wscript_build1
2 files changed, 12 insertions, 0 deletions
diff --git a/nsswitch/libwbclient/wbclient.pc.in b/nsswitch/libwbclient/wbclient.pc.in
new file mode 100644
index 0000000000..c7b199b4c0
--- /dev/null
+++ b/nsswitch/libwbclient/wbclient.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+modulesdir=${prefix}/modules/gensec
+
+Name: wbclient
+Description: Winbind client
+Version: @PACKAGE_VERSION@
+Libs: @LIB_RPATH@ -L${libdir} -lwbclient
+Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1
diff --git a/nsswitch/libwbclient/wscript_build b/nsswitch/libwbclient/wscript_build
index d9255159d0..2b7fc08a33 100644
--- a/nsswitch/libwbclient/wscript_build
+++ b/nsswitch/libwbclient/wscript_build
@@ -3,6 +3,7 @@
bld.SAMBA_LIBRARY('wbclient',
source='wbc_guid.c wbc_idmap.c wbclient.c wbc_pam.c wbc_pwd.c wbc_sid.c wbc_util.c',
deps='winbind-client',
+ pc_files='wbclient.pc',
public_headers='wbclient.h',
vnum='0'
)