summaryrefslogtreecommitdiffstats
path: root/exporters/pkg-config/libssl.pc.in
diff options
context:
space:
mode:
Diffstat (limited to 'exporters/pkg-config/libssl.pc.in')
-rw-r--r--exporters/pkg-config/libssl.pc.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/exporters/pkg-config/libssl.pc.in b/exporters/pkg-config/libssl.pc.in
index a7828b3cc6..963538807b 100644
--- a/exporters/pkg-config/libssl.pc.in
+++ b/exporters/pkg-config/libssl.pc.in
@@ -1,5 +1,9 @@
-libdir={- $OpenSSL::safe::installdata::LIBDIR -}
-includedir={- $OpenSSL::safe::installdata::INCLUDEDIR -}
+prefix={- $OpenSSL::safe::installdata::PREFIX -}
+exec_prefix=${prefix}
+libdir={- $OpenSSL::safe::installdata::LIBDIR_REL_PREFIX
+ ? '${exec_prefix}/' . $OpenSSL::safe::installdata::LIBDIR_REL_PREFIX
+ : $OpenSSL::safe::installdata::libdir -}
+includedir=${prefix}/{- $OpenSSL::safe::installdata::INCLUDEDIR_REL_PREFIX -}
Name: OpenSSL-libssl
Description: Secure Sockets Layer and cryptography libraries