summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/libsmb/smbclient.pc.in11
-rwxr-xr-xsource3/wscript_build6
2 files changed, 15 insertions, 2 deletions
diff --git a/source3/libsmb/smbclient.pc.in b/source3/libsmb/smbclient.pc.in
new file mode 100644
index 0000000000..bcef2f2c81
--- /dev/null
+++ b/source3/libsmb/smbclient.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: smbclient
+Description: A SMB library interface
+Version: @PACKAGE_VERSION@
+Libs: @LIB_RPATH@ -L${libdir} -lsmbclient
+Cflags: -I${includedir}
+URL: http://www.samba.org/
diff --git a/source3/wscript_build b/source3/wscript_build
index 6c27ecde19..c9e60c043e 100755
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -659,8 +659,10 @@ bld.SAMBA3_LIBRARY('smbclient',
public_deps='''talloc tdb_compat wbclient cap param smbd_shim libsmb KRBCLIENT pdb
LIBMSRPC_GEN msrpc3 libcli_lsa3 RPC_NDR_SRVSVC popt_samba3''',
public_headers='include/libsmbclient.h',
- vnum='0',
- pc_files=[],
+ abi_directory='libsmb/ABI',
+ abi_match='smbc_*',
+ vnum='0.1.0',
+ pc_files='libsmb/smbclient.pc',
vars=locals())
bld.SAMBA3_LIBRARY('smbsharemodes',