Merge pull request #125476 from LeSuisse/git-fix-pkgsStatic
git: fix pkgsStatic build
This commit is contained in:
commit
eaef571d76
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ stdenv.mkDerivation {
|
|||
++ lib.optionals withLibsecret [ pkg-config glib libsecret ];
|
||||
|
||||
# required to support pthread_cancel()
|
||||
NIX_LDFLAGS = lib.optionalString (!stdenv.cc.isClang) "-lgcc_s"
|
||||
NIX_LDFLAGS = lib.optionalString (stdenv.cc.isGNU && stdenv.hostPlatform.libc == "glibc") "-lgcc_s"
|
||||
+ lib.optionalString (stdenv.isFreeBSD) "-lthr";
|
||||
|
||||
configureFlags = lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
|
||||
|
|
Loading…
Reference in a new issue