mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
cmake: add install_name_tool on Darwin to fix the build
svn path=/nixpkgs/trunk/; revision=26511
This commit is contained in:
parent
0e5593b0f6
commit
5ba10a94e1
@ -1,5 +1,6 @@
|
||||
{fetchurl, stdenv, replace, curl, expat, zlib, bzip2, libarchive
|
||||
, useNcurses ? false, ncurses, useQt4 ? false, qt4}:
|
||||
, useNcurses ? false, ncurses, useQt4 ? false, qt4
|
||||
, darwinInstallNameToolUtility}:
|
||||
|
||||
let
|
||||
os = stdenv.lib.optionalString;
|
||||
@ -19,6 +20,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
buildInputs = [ curl expat zlib bzip2 libarchive ]
|
||||
++ optional stdenv.isDarwin darwinInstallNameToolUtility
|
||||
++ optional useNcurses ncurses
|
||||
++ optional useQt4 qt4;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user