build: Provide .pc file for libsmbsharemodes
authorAndrew Bartlett <abartlet@samba.org>
Mon, 28 May 2012 02:50:34 +0000 (12:50 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 30 May 2012 02:15:11 +0000 (04:15 +0200)
This is not the exact same file as the autoconf build, because of
the differnet processing semantics.

Andrew Bartlett

source3/libsmb/smbsharemodes.pc.in [new file with mode: 0644]
source3/wscript_build

diff --git a/source3/libsmb/smbsharemodes.pc.in b/source3/libsmb/smbsharemodes.pc.in
new file mode 100644 (file)
index 0000000..fadc481
--- /dev/null
@@ -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/
index 339614ecdc973ef84b07eaf4cf75c22d53fcdec5..bf37e8b6ac55acbb069811322f1e006081dbd306 100755 (executable)
@@ -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())