3
0
Fork 0
forked from mirrors/nixpkgs

LDFLAGS hack is only required for SmartOS builds

This commit is contained in:
Danny Wilson 2015-11-17 11:20:33 +01:00
parent 98180e3bb2
commit 62ff7367d5

View file

@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
sha256 = "1qx9f0kprf92r1wxl3sacykla0g04qsi0idypzz24b7xy9ix5579";
};
NIX_LDFLAGS = "-lsocket -lnsl";
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isSunOS "-lsocket -lnsl";
patches = [ ./glibc214.patch ]
# Patch for the newer unstable boehm-gc 7.2alpha. Not all platforms use that