summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/credentials/samba-credentials.pc.in11
-rw-r--r--source4/auth/credentials/wscript_build1
2 files changed, 12 insertions, 0 deletions
diff --git a/source4/auth/credentials/samba-credentials.pc.in b/source4/auth/credentials/samba-credentials.pc.in
new file mode 100644
index 0000000000..9a0db509ee
--- /dev/null
+++ b/source4/auth/credentials/samba-credentials.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+modulesdir=${prefix}/modules/gensec
+
+Name: samba-credentials
+Description: Credentials management
+Version: @PACKAGE_VERSION@
+Libs: @LIB_RPATH@ -L${libdir} -lsamba-credentials
+Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1
diff --git a/source4/auth/credentials/wscript_build b/source4/auth/credentials/wscript_build
index c708e7e574..2c46b43b21 100644
--- a/source4/auth/credentials/wscript_build
+++ b/source4/auth/credentials/wscript_build
@@ -4,6 +4,7 @@ bld.SAMBA_LIBRARY('samba-credentials',
source='credentials.c',
autoproto='credentials_proto.h',
public_headers='credentials.h',
+ pc_files='samba-credentials.pc',
deps='LIBCRYPTO errors events LIBCLI_AUTH security CREDENTIALS_SECRETS CREDENTIALS_KRB5',
vnum='0.0.1'
)