summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/configure.ac1
-rw-r--r--source4/librpc/config.mk1
-rw-r--r--source4/librpc/dcerpc_samr.pc.in11
3 files changed, 13 insertions, 0 deletions
diff --git a/source4/configure.ac b/source4/configure.ac
index 8c0f176e5f..23fc1023ad 100644
--- a/source4/configure.ac
+++ b/source4/configure.ac
@@ -33,6 +33,7 @@ AC_OUTPUT(librpc/ndr.pc)
AC_OUTPUT(torture/torture.pc)
AC_OUTPUT(auth/gensec/gensec.pc)
AC_OUTPUT(param/samba-config.pc)
+AC_OUTPUT(librpc/dcerpc_samr.pc)
SMB_EXT_LIB_FROM_PKGCONFIG(LIBTALLOC, talloc >= 1.1.0,
[],
diff --git a/source4/librpc/config.mk b/source4/librpc/config.mk
index f55813a8ca..dc58870469 100644
--- a/source4/librpc/config.mk
+++ b/source4/librpc/config.mk
@@ -346,6 +346,7 @@ PUBLIC_DEPENDENCIES = dcerpc NDR_UNIXINFO
[LIBRARY::dcerpc_samr]
OBJ_FILES = gen_ndr/ndr_samr_c.o
+PC_FILE = dcerpc_samr.pc
PUBLIC_DEPENDENCIES = dcerpc NDR_SAMR
VERSION = 0.0.1
SO_VERSION = 0
diff --git a/source4/librpc/dcerpc_samr.pc.in b/source4/librpc/dcerpc_samr.pc.in
new file mode 100644
index 0000000000..c4102237d3
--- /dev/null
+++ b/source4/librpc/dcerpc_samr.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: dcerpc_samr
+Description: DCE/RPC client library - SAMR
+Requires.private: dcerpc ndr
+Version: 0.0.1
+Libs: -L${libdir} -ldcerpc_samr
+Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1