Merge pull request #335986 from tobim/pkgs/python312-static
pkgsStatic.python312: fix build
This commit is contained in:
@@ -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 = ''
|
||||
|
||||
Reference in New Issue
Block a user