3
0
Fork 0
forked from mirrors/nixpkgs

* -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 =
''