openssl: build static
This commit is contained in:
parent
3215190568
commit
abe28a02dc
|
@ -115,18 +115,20 @@ in {
|
|||
|
||||
ncurses = addPatchesHost [ ./ncurses/genode.patch ] ncurses;
|
||||
|
||||
openssl = overrideAttrsHost (attrs: {
|
||||
outputs = [ "out" ]
|
||||
++ builtins.filter (x: x != "bin" && x != "out") attrs.outputs;
|
||||
patches = attrs.patches or [ ] ++ [ ./openssl/genode.patch ];
|
||||
configureScript = {
|
||||
x86_64-genode = "./Configure Genode-x86_64";
|
||||
}.${stdenv.hostPlatform.system} or (throw
|
||||
"Not sure what configuration to use for ${stdenv.hostPlatform.config}");
|
||||
configureFlags = attrs.configureFlags ++ [ "no-devcryptoeng" ];
|
||||
postInstall =
|
||||
"rm $out/bin/c_rehash"; # eliminate the perl runtime dependency
|
||||
}) openssl;
|
||||
openssl =
|
||||
overrideHost { static = true; } # shared library comes out stupid big
|
||||
(overrideAttrsHost (attrs: {
|
||||
outputs = [ "out" ]
|
||||
++ builtins.filter (x: x != "bin" && x != "out") attrs.outputs;
|
||||
patches = attrs.patches or [ ] ++ [ ./openssl/genode.patch ];
|
||||
configureScript = {
|
||||
x86_64-genode = "./Configure Genode-x86_64";
|
||||
}.${stdenv.hostPlatform.system} or (throw
|
||||
"Not sure what configuration to use for ${stdenv.hostPlatform.config}");
|
||||
configureFlags = attrs.configureFlags ++ [ "no-devcryptoeng" ];
|
||||
postInstall =
|
||||
"rm $out/bin/c_rehash"; # eliminate the perl runtime dependency
|
||||
}) openssl);
|
||||
|
||||
rsync = overrideHost {
|
||||
enableACLs = false;
|
||||
|
|
Loading…
Reference in New Issue