summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--p11-kit/Makefile.am6
-rw-r--r--p11-kit/p11-kit-1.pc.in1
2 files changed, 6 insertions, 1 deletions
diff --git a/p11-kit/Makefile.am b/p11-kit/Makefile.am
index 4164412..c45efc1 100644
--- a/p11-kit/Makefile.am
+++ b/p11-kit/Makefile.am
@@ -45,4 +45,8 @@ pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = p11-kit-1.pc
EXTRA_DIST = \
- p11-kit-1.pc.in \ No newline at end of file
+ p11-kit-1.pc.in
+
+# Proxy module is actually same as library, so install a link
+install-exec-hook:
+ $(LN_S) libp11-kit.so $(DESTDIR)$(libdir)/p11-kit-proxy.so \ No newline at end of file
diff --git a/p11-kit/p11-kit-1.pc.in b/p11-kit/p11-kit-1.pc.in
index c5bcdbd..9ef67a3 100644
--- a/p11-kit/p11-kit-1.pc.in
+++ b/p11-kit/p11-kit-1.pc.in
@@ -9,6 +9,7 @@ p11_system_conf=@p11_system_conf@
p11_system_modules=@p11_system_modules@
p11_user_conf=@p11_user_conf@
p11_user_modules=@p11_user_modules@
+proxy_module=@libdir@/p11-kit-proxy.so
Name: p11-kit
Description: Library and proxy module for properly loading and sharing PKCS#11 modules.