forked from mirrors/nixpkgs
openssl: Install config files in $out/etc/ssl in $out/ssl
This commit is contained in:
parent
1620307488
commit
e5497ca043
|
@ -55,11 +55,14 @@ stdenv.mkDerivation {
|
|||
configureScript =
|
||||
if stdenv.system == "x86_64-darwin" then "./Configure darwin64-x86_64-cc" else "./config";
|
||||
|
||||
configureFlags = "shared --libdir=lib" +
|
||||
configureFlags = "shared --libdir=lib --openssldir=etc/ssl" +
|
||||
stdenv.lib.optionalString withCryptodev " -DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS";
|
||||
|
||||
makeFlags = "MANDIR=$(out)/share/man";
|
||||
|
||||
# Parallel building is broken in OpenSSL.
|
||||
#enableParallelBuilding = true;
|
||||
|
||||
postInstall =
|
||||
''
|
||||
# If we're building dynamic libraries, then don't install static
|
||||
|
|
Loading…
Reference in a new issue