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:
parent
f26130770b
commit
891991a1d9
@ -19,6 +19,8 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
NIX_CFLAGS_CXXFLAGS = if stdenv.system == "x86_64-linux" then "-fPIC" else "";
|
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 =
|
postInstall =
|
||||||
''
|
''
|
||||||
ln -s mysqld_safe $out/bin/mysqld
|
ln -s mysqld_safe $out/bin/mysqld
|
||||||
|
Loading…
x
Reference in New Issue
Block a user