summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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())