mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-06 20:23:39 +00:00
getdns: fix paths in pkg-config file
This commit is contained in:
parent
499b90f319
commit
0035e659fb
@ -29,6 +29,13 @@ in rec {
|
||||
|
||||
buildInputs = [ libidn2 openssl unbound ];
|
||||
|
||||
# https://github.com/getdnsapi/getdns/issues/517
|
||||
postPatch = ''
|
||||
substituteInPlace getdns.pc.in \
|
||||
--replace '$'{exec_prefix}/@CMAKE_INSTALL_LIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@ \
|
||||
--replace '$'{prefix}/@CMAKE_INSTALL_INCLUDEDIR@ @CMAKE_INSTALL_FULL_INCLUDEDIR@
|
||||
'';
|
||||
|
||||
postInstall = "rm -r $out/share/doc";
|
||||
|
||||
meta = with lib;
|
||||
|
Loading…
Reference in New Issue
Block a user