forked from mirrors/nixpkgs
LDFLAGS hack is only required for SmartOS builds
This commit is contained in:
parent
98180e3bb2
commit
62ff7367d5
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue