summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/libnet/netapi.pc.in11
-rwxr-xr-xsource3/wscript_build2
2 files changed, 12 insertions, 1 deletions
diff --git a/source3/libnet/netapi.pc.in b/source3/libnet/netapi.pc.in
new file mode 100644
index 0000000000..a699027227
--- /dev/null
+++ b/source3/libnet/netapi.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: Samba libnetapi
+Description: A library to control CIFS servers
+Version: @PACKAGE_VERSION@
+Libs: @LIB_RPATH@ -L${libdir} -lnetapi
+Cflags: -I${includedir}
+URL: http://www.samba.org/
diff --git a/source3/wscript_build b/source3/wscript_build
index 13ecefde73..339614ecdc 100755
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -635,7 +635,7 @@ bld.SAMBA3_LIBRARY('netapi',
INIT_SAMR
''',
public_headers='../source3/lib/netapi/netapi.h',
- pc_files=[],
+ pc_files='libnet/netapi.pc',
vnum='0',
vars=locals())