mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-02-10 14:23:36 -05:00
This commit removes the hardcoded dependency in the libunbound pkg-config .pc file on the libcrypto and libssl modules and instead populates the .pc file based on which crypto library was selected at configure time. Note that the .pc file specifies pkg-config module names for the "Requires" line and this can vary from the library filename (e.g. "nss" is the pkg-config module name vs. "nss3" being the library name).
14 lines
403 B
PkgConfig
14 lines
403 B
PkgConfig
prefix=@prefix@
|
|
exec_prefix=@exec_prefix@
|
|
libdir=@libdir@
|
|
includedir=@includedir@
|
|
|
|
Name: unbound
|
|
Description: Library with validating, recursive, and caching DNS resolver
|
|
URL: http://www.unbound.net
|
|
Version: @PACKAGE_VERSION@
|
|
Requires: @PC_CRYPTO_DEPENDENCY@ @PC_LIBEVENT_DEPENDENCY@
|
|
Requires.private: @PC_PY_DEPENDENCY@
|
|
Libs: -L${libdir} -lunbound
|
|
Libs.private: @SSLLIB@ @LIBS@
|
|
Cflags: -I${includedir}
|