summaryrefslogtreecommitdiffstats
path: root/exporters/pkg-config/libcrypto.pc.in
blob: 3d56e9741831ab0dde49ddee4a871a72343f2060 (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
26
27
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); -}
enginesdir=${libdir}/{- $OpenSSL::safe::installdata::ENGINESDIR_REL_LIBDIR[0] -}
modulesdir=${libdir}/{- $OpenSSL::safe::installdata::MODULESDIR_REL_LIBDIR[0] -}

Name: OpenSSL-libcrypto
Description: OpenSSL cryptography library
Version: {- $OpenSSL::safe::installdata::VERSION -}
Libs: -L${libdir} -lcrypto
Libs.private: {- join(' ', @OpenSSL::safe::installdata::LDLIBS) -}
Cflags:{- $OUT = ' -I${includedir}';
          if (scalar @OpenSSL::safe::installdata::INCLUDEDIR_REL_PREFIX > 1) {
              $OUT = '';
              $OUT .= ' -I${prefix}/' . $_ . ' '
                  foreach (@OpenSSL::safe::installdata::INCLUDEDIR_REL_PREFIX);
          } -}