silver-searcher: avoid -lgcc_s on darwin

This commit is contained in:
Georges Dubus 2014-03-12 17:48:32 +01:00
parent 4640a6b9db
commit b805528552

View File

@ -10,7 +10,7 @@ stdenv.mkDerivation {
sha256 = "b6993e077f650eb0976cbc924640665fa9b2499a899ecba5a6cad5cf9addfdff";
};
NIX_LDFLAGS = "-lgcc_s";
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isLinux "-lgcc_s";
buildInputs = [ autoreconfHook pkgconfig pcre zlib lzma ];