lol

Merge pull request #174285 from tobim/pkgsStatic/fix-python

authored by

Martin Weinelt and committed by
GitHub
af02d617 012ac668

+1 -1
+1 -1
pkgs/development/interpreters/python/cpython/default.nix
··· 289 289 CPPFLAGS = concatStringsSep " " (map (p: "-I${getDev p}/include") buildInputs); 290 290 LDFLAGS = concatStringsSep " " (map (p: "-L${getLib p}/lib") buildInputs); 291 291 LIBS = "${optionalString (!stdenv.isDarwin) "-lcrypt"}"; 292 - NIX_LDFLAGS = lib.optionalString stdenv.cc.isGNU ({ 292 + NIX_LDFLAGS = lib.optionalString (stdenv.cc.isGNU && !stdenv.hostPlatform.isStatic) ({ 293 293 "glibc" = "-lgcc_s"; 294 294 "musl" = "-lgcc_eh"; 295 295 }."${stdenv.hostPlatform.libc}" or "");