summaryrefslogtreecommitdiffstats
path: root/exporters/pkg-config/libssl.pc.in
blob: 162db65c99a2afe3978412b5fb34a9f1343d7a69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
prefix={- $OpenSSL::safe::installdata::PREFIX[0] -}
exec_prefix=${prefix}
libdir={- if (defined $OpenSSL::safe::installdata::LIBDIR_REL_PREFIX[0]) {
              my $x = '';
              $x = '/' . $OpenSSL::safe::installdata::LIBDIR_REL_PREFIX[0]
                  if $OpenSSL::safe::installdata::LIBDIR_REL_PREFIX[0];
              '${exec_prefix}' . $x;
          } else {
              $OpenSSL::safe::installdata::libdir[0];
          } -}
includedir={- $OUT = '';
              $OUT .= '${prefix}/' . $_ . ' '
                  foreach (@OpenSSL::safe::installdata::INCLUDEDIR_REL_PREFIX); -}

Name: OpenSSL-libssl
Description: Secure Sockets Layer and cryptography libraries
Version: {- $OpenSSL::safe::installdata::VERSION -}
Requires.private: libcrypto
Libs: -L${libdir} -lssl
Cflags:{- $OUT = ' -I${includedir}';
          if (scalar @OpenSSL::safe::installdata::INCLUDEDIR_REL_PREFIX > 1) {
              $OUT = '';
              $OUT .= ' -I${prefix}/' . $_ . ' '
                  foreach (@OpenSSL::safe::installdata::INCLUDEDIR_REL_PREFIX);
          } -}