mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
mysql55: Get building on darwin
svn path=/nixpkgs/trunk/; revision=31842
This commit is contained in:
parent
e45f42bdf1
commit
7cc21234f6
@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, cmake, bison, ncurses, openssl, readline, zlib}:
|
||||
{stdenv, fetchurl, cmake, bison, ncurses, openssl, readline, zlib, darwinInstallNameToolUtility, perl}:
|
||||
|
||||
# Note: zlib is not required; MySQL can use an internal zlib.
|
||||
|
||||
@ -10,7 +10,7 @@ stdenv.mkDerivation {
|
||||
sha256 = "03jl60mzrsd1jb8fvkz6c8j2239b37k8n1i07jk1q4yk58aq8ynh";
|
||||
};
|
||||
|
||||
buildInputs = [ cmake bison ncurses openssl readline zlib ];
|
||||
buildInputs = [ cmake bison ncurses openssl readline zlib ] ++ stdenv.lib.optionals stdenv.isDarwin [ darwinInstallNameToolUtility perl ];
|
||||
|
||||
cmakeFlags = "-DWITH_SSL=yes -DWITH_READLINE=yes -DWITH_EMBEDDED_SERVER=yes -DWITH_ZLIB=yes -DINSTALL_SCRIPTDIR=bin";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user