1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00

* -lgcc_s is also needed on i686-linux.

svn path=/nixpkgs/trunk/; revision=17754
This commit is contained in:
Eelco Dolstra 2009-10-12 11:22:16 +00:00
parent 331d7185f2
commit c6efc69ad2

View file

@ -19,7 +19,7 @@ stdenv.mkDerivation {
NIX_CFLAGS_CXXFLAGS = if stdenv.system == "x86_64-linux" then "-fPIC" else "";
NIX_LDFLAGS = if stdenv.system == "x86_64-linux" then "-lgcc_s" else "";
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isLinux "-lgcc_s";
postInstall =
''