Merge pull request #97238 from hannesweisbach/macos-tbb
tbb: fix library install name on macOS
This commit is contained in:
commit
2dd41576fb
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, compiler ? if stdenv.cc.isClang then "clang" else null, stdver ? null }:
|
{ stdenv, fetchFromGitHub, fixDarwinDylibNames, compiler ? if stdenv.cc.isClang then "clang" else null, stdver ? null }:
|
||||||
|
|
||||||
with stdenv.lib; stdenv.mkDerivation rec {
|
with stdenv.lib; stdenv.mkDerivation rec {
|
||||||
pname = "tbb";
|
pname = "tbb";
|
||||||
@ -11,6 +11,8 @@ with stdenv.lib; stdenv.mkDerivation rec {
|
|||||||
sha256 = "1a39nflw7b2n51jfp3fdprnkpgzaspzww1dckfvaigflfli9s8rj";
|
sha256 = "1a39nflw7b2n51jfp3fdprnkpgzaspzww1dckfvaigflfli9s8rj";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = optional stdenv.isDarwin fixDarwinDylibNames;
|
||||||
|
|
||||||
makeFlags = optional (compiler != null) "compiler=${compiler}"
|
makeFlags = optional (compiler != null) "compiler=${compiler}"
|
||||||
++ optional (stdver != null) "stdver=${stdver}";
|
++ optional (stdver != null) "stdver=${stdver}";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user