git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #97238 from hannesweisbach/macos-tbb

tbb: fix library install name on macOS

commit2dd41576fb97201451f535f658f13d0341ca18b6 authorDaniël de Kok <me@danieldk.eu> dateSun 6 Sep 2020, 18:04 (6 years ago) parentebd2e631488e7d
1 file changed+3−1
pkgs/development/libraries/tbb/default.nix+3−1
pkgs/development/libraries/tbb/default.nix+3−1
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, compiler ? if stdenv.cc.isClang then "clang" else null, stdver ? null }:
1+{ stdenv, fetchFromGitHub, fixDarwinDylibNames, compiler ? if stdenv.cc.isClang then "clang" else null, stdver ? null }:
22
33with stdenv.lib; stdenv.mkDerivation rec {
44 pname = "tbb";
@@ -11,6 +11,8 @@ with stdenv.lib; stdenv.mkDerivation rec {
1111 sha256 = "1a39nflw7b2n51jfp3fdprnkpgzaspzww1dckfvaigflfli9s8rj";
1212 };
1313
14+ nativeBuildInputs = optional stdenv.isDarwin fixDarwinDylibNames;
15+
1416 makeFlags = optional (compiler != null) "compiler=${compiler}"
1517 ++ optional (stdver != null) "stdver=${stdver}";
1618