Added some MySQL fixes in order to have a working libmysqld library on x86_64-linux
svn path=/nixpkgs/branches/stdenv-updates/; revision=15215
This commit is contained in:
parent
be04acaf45
commit
5b9c5c62be
@ -12,7 +12,12 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
buildInputs = [ps ncurses zlib perl openssl];
|
buildInputs = [ps ncurses zlib perl openssl];
|
||||||
|
|
||||||
configureFlags = "--enable-thread-safe-client --disable-static --with-openssl=${openssl} --with-berkeley-db --with-embedded-server";
|
configureFlags = "--enable-thread-safe-client --disable-static --with-openssl=${openssl} --with-berkeley-db --with-embedded-server" +
|
||||||
|
(if stdenv.system == "x86_64-linux" then " --with-lib-ccflags=-fPIC" else "");
|
||||||
|
|
||||||
|
NIX_CFLAGS_COMPILE = if stdenv.system == "x86_64-linux" then "-fPIC" else "";
|
||||||
|
|
||||||
|
NIX_CFLAGS_CXXFLAGS = if stdenv.system == "x86_64-linux" then "-fPIC" else "";
|
||||||
|
|
||||||
postInstall =
|
postInstall =
|
||||||
''
|
''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user