xref: /openssl/exporters/pkg-config/libssl.pc.in (revision 15b74849)
1prefix={- $OpenSSL::safe::installdata::PREFIX[0] -}
2exec_prefix=${prefix}
3libdir={- if (defined $OpenSSL::safe::installdata::LIBDIR_REL_PREFIX[0]) {
4              my $x = '';
5              $x = '/' . $OpenSSL::safe::installdata::LIBDIR_REL_PREFIX[0]
6                  if $OpenSSL::safe::installdata::LIBDIR_REL_PREFIX[0];
7              '${exec_prefix}' . $x;
8          } else {
9              $OpenSSL::safe::installdata::libdir[0];
10          } -}
11includedir={- $OUT = '';
12              $OUT .= '${prefix}/' . $_ . ' '
13                  foreach (@OpenSSL::safe::installdata::INCLUDEDIR_REL_PREFIX); -}
14
15Name: OpenSSL-libssl
16Description: Secure Sockets Layer and cryptography libraries
17Version: {- $OpenSSL::safe::installdata::VERSION -}
18Requires.private: libcrypto
19Libs: -L${libdir} -lssl
20Cflags:{- $OUT = ' -I${includedir}';
21          if (scalar @OpenSSL::safe::installdata::INCLUDEDIR_REL_PREFIX > 1) {
22              $OUT = '';
23              $OUT .= ' -I${prefix}/' . $_ . ' '
24                  foreach (@OpenSSL::safe::installdata::INCLUDEDIR_REL_PREFIX);
25          } -}
26