mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
Merge pull request #268215 from t4ccer/t4/fix-static-blink
blink: Fix static compilation
This commit is contained in:
commit
f736b49026
@ -19,6 +19,15 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
})
|
||||
];
|
||||
|
||||
# Do not include --enable-static and --disable-shared flags during static compilation
|
||||
dontAddStaticConfigureFlags = true;
|
||||
|
||||
# Don't add --build and --host flags as they are not supported
|
||||
configurePlatforms = lib.optionals stdenv.hostPlatform.isStatic [ ];
|
||||
|
||||
# ./configure script expects --static not standard --enable-static
|
||||
configureFlags = lib.optional stdenv.hostPlatform.isStatic "--static";
|
||||
|
||||
# 'make check' requires internet connection
|
||||
doCheck = true;
|
||||
checkTarget = "test";
|
||||
|
Loading…
Reference in New Issue
Block a user