pkgsStatic.python312: fix build

This commit is contained in:
Tobias Mayer
2024-08-20 10:48:39 +02:00
parent 625941e1a9
commit f4917d2893
@@ -455,6 +455,10 @@ in with passthru; stdenv.mkDerivation (finalAttrs: {
"ac_cv_func_lchmod=no"
] ++ optionals static [
"LDFLAGS=-static"
"MODULE_BUILDTYPE=static"
] ++ optionals (stdenv.hostPlatform.isStatic && stdenv.hostPlatform.isMusl) [
# dlopen is a no-op in static musl builds, and since we build everything without -fPIC it's better not to pretend.
"ac_cv_func_dlopen=no"
];
preConfigure = ''