mirror of
https://github.com/openssl/openssl.git
synced 2025-01-30 14:01:55 +08:00
30dc37d798
With this, the pkg-config files take better advantage of relative directory values. Fixes #24298 Reviewed-by: Neil Horman <nhorman@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/24687)
16 lines
729 B
PkgConfig
16 lines
729 B
PkgConfig
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 -}
|
|
enginesdir=${libdir}/{- $OpenSSL::safe::installdata::ENGINESDIR_REL_LIBDIR -}
|
|
modulesdir=${libdir}/{- $OpenSSL::safe::installdata::MODULESDIR_REL_LIBDIR -}
|
|
|
|
Name: OpenSSL-libcrypto
|
|
Description: OpenSSL cryptography library
|
|
Version: {- $OpenSSL::safe::installdata::VERSION -}
|
|
Libs: -L${libdir} -lcrypto
|
|
Libs.private: {- join(' ', @OpenSSL::safe::installdata::LDLIBS) -}
|
|
Cflags: -I${includedir}
|