perlPackages.NetSSLeay: link openssl pkgconfig files
Instead of linking the lib folder with the libraries, link the lib directory from the dev output containing the pkgconfig files. This is enough for finding the libs and fixes a build failure with libressl.
This commit is contained in:
@@ -9583,11 +9583,10 @@ let self = _self // overrides; _self = with self; {
|
||||
url = "mirror://cpan/authors/id/M/MI/MIKEM/${name}.tar.gz";
|
||||
sha256 = "06h6wbr923jxmazmv5shdg1767s7r60bvzcza52dk31yckks6l31";
|
||||
};
|
||||
buildInputs = [ pkgs.openssl ];
|
||||
doCheck = false; # Test performs network access.
|
||||
preConfigure = ''
|
||||
mkdir openssl
|
||||
ln -s ${pkgs.openssl.out}/lib openssl
|
||||
ln -s ${pkgs.openssl.dev}/lib openssl
|
||||
ln -s ${pkgs.openssl.bin}/bin openssl
|
||||
ln -s ${pkgs.openssl.dev}/include openssl
|
||||
export OPENSSL_PREFIX=$(realpath openssl)
|
||||
|
||||
Reference in New Issue
Block a user