mirror of
https://github.com/openssl/openssl.git
synced 2024-11-23 01:54:39 +08:00
exporters for pkg-config: align with the changes for CMake
The latest CMake exporter changes reworked the the variables in builddata.pm and installdata.pm. Unfortunately, the pkg-config exporter templates were forgotten in that effort. Fixes #25299 Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Neil Horman <nhorman@openssl.org> (Merged from https://github.com/openssl/openssl/pull/25308)
This commit is contained in:
parent
0b97a5505e
commit
15b748496f
@ -1,8 +1,13 @@
|
||||
prefix={- $OpenSSL::safe::installdata::PREFIX[0] -}
|
||||
exec_prefix=${prefix}
|
||||
libdir={- $OpenSSL::safe::installdata::LIBDIR_REL_PREFIX[0]
|
||||
? '${exec_prefix}/' . $OpenSSL::safe::installdata::LIBDIR_REL_PREFIX[0]
|
||||
: $OpenSSL::safe::installdata::libdir[0] -}
|
||||
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); -}
|
||||
|
@ -1,8 +1,13 @@
|
||||
prefix={- $OpenSSL::safe::installdata::PREFIX -}
|
||||
prefix={- $OpenSSL::safe::installdata::PREFIX[0] -}
|
||||
exec_prefix=${prefix}
|
||||
libdir={- $OpenSSL::safe::installdata::LIBDIR_REL_PREFIX
|
||||
? '${exec_prefix}/' . $OpenSSL::safe::installdata::LIBDIR_REL_PREFIX
|
||||
: $OpenSSL::safe::installdata::libdir -}
|
||||
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); -}
|
||||
|
@ -1,9 +1,16 @@
|
||||
prefix={- $OpenSSL::safe::installdata::PREFIX -}
|
||||
prefix={- $OpenSSL::safe::installdata::PREFIX[0] -}
|
||||
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 -}
|
||||
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
|
||||
Description: Secure Sockets Layer and cryptography libraries and tools
|
||||
|
Loading…
Reference in New Issue
Block a user