Loading pkgs/development/interpreters/python/cpython/default.nix +4 −0 Original line number Diff line number Diff line Loading @@ -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 = '' Loading Loading
pkgs/development/interpreters/python/cpython/default.nix +4 −0 Original line number Diff line number Diff line Loading @@ -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 = '' Loading