summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-05-28 12:50:34 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-05-30 04:15:11 +0200
commitc691ada7096a9c5c6c95de390329ebb16e2086c5 (patch)
tree239e23a33ebf82d2d3bebb7c73942caf04728034
parent3ef62345abe8321a141831ab9d8cda4d096407b0 (diff)
downloadsamba-c691ada7096a9c5c6c95de390329ebb16e2086c5.tar.gz
samba-c691ada7096a9c5c6c95de390329ebb16e2086c5.tar.bz2
samba-c691ada7096a9c5c6c95de390329ebb16e2086c5.zip
build: Provide .pc file for libsmbsharemodes
This is not the exact same file as the autoconf build, because of the differnet processing semantics. Andrew Bartlett
-rw-r--r--source3/libsmb/smbsharemodes.pc.in11
-rwxr-xr-xsource3/wscript_build2
2 files changed, 12 insertions, 1 deletions
diff --git a/source3/libsmb/smbsharemodes.pc.in b/source3/libsmb/smbsharemodes.pc.in
new file mode 100644
index 0000000000..fadc481235
--- /dev/null
+++ b/source3/libsmb/smbsharemodes.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: Samba libsmbsharemodes
+Description: A library
+Version: @PACKAGE_VERSION@
+Libs: @LIB_RPATH@ -L${libdir} -lsmbsharemodes
+Cflags: -I${includedir}
+URL: http://www.samba.org/
diff --git a/source3/wscript_build b/source3/wscript_build
index 339614ecdc..bf37e8b6ac 100755
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -644,7 +644,7 @@ bld.SAMBA3_LIBRARY('smbsharemodes',
public_deps='''talloc tdb_compat''',
deps='''ccan''',
public_headers='include/smb_share_modes.h',
- pc_files=[],
+ pc_files='libsmb/smbsharemodes.pc',
vnum='0',
vars=locals())