python3: fix static build

This commit is contained in:
Guillaume Girol
2021-08-19 09:30:46 +02:00
parent 37962fc5fb
commit 36acee3820
@@ -287,10 +287,11 @@ in with passthru; stdenv.mkDerivation {
PYTHONHASHSEED=0;
configureFlags = [
"--enable-shared"
"--without-ensurepip"
"--with-system-expat"
"--with-system-ffi"
] ++ optionals (!static) [
"--enable-shared"
] ++ optionals enableOptimizations [
"--enable-optimizations"
] ++ optionals enableLTO [