openssl/exporters/pkg-config/openssl.pc.in
Richard Levitte 2ac569a67b Clean up exporters, specifically those we have for pkg-config
The pkg-config exporters were a special hack, all in
Configurations/unix-Makefile.tmpl, and this was well and good as long
as that was the only main package interface configuration system that we
cared about.

Things have changed, though, so we move the pkg-config production to be
templatable in a more flexible manner.  Additional templates for other
interface configuration systems can then be added fairly easily.

Two variants of the .pc files are produced:

- Those in 'exporters/' are installed in the location that 'pkg-config'
  itself prefers for installed packages.
- Those in the top directory are to be used when it's desirable to build
  directly against an OpenSSL build tree.

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20878)
2023-11-15 08:22:29 +01:00

8 lines
271 B
PkgConfig

libdir={- $OpenSSL::safe::installdata::LIBDIR -}
includedir={- $OpenSSL::safe::installdata::INCLUDEDIR -}
Name: OpenSSL
Description: Secure Sockets Layer and cryptography libraries and tools
Version: {- $OpenSSL::safe::installdata::VERSION -}
Requires: libssl libcrypto