Link lgcc_s to mysql in order to make it work on x86-64-linux

svn path=/nixpkgs/trunk/; revision=15973
This commit is contained in:
Sander van der Burg 2009-06-16 13:36:10 +00:00
parent f26130770b
commit 891991a1d9

View File

@ -19,6 +19,8 @@ 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 "";
postInstall =
''
ln -s mysqld_safe $out/bin/mysqld