shaderc: include darwin libtool
Signed-off-by: Ana Hobden <operator@hoverbear.org>
This commit is contained in:
parent
726f7c9688
commit
e86fa71ba6
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, fetchFromGitHub, cmake, python3 }:
|
||||
{ lib, stdenv, fetchFromGitHub, cmake, darwin, python3 }:
|
||||
# Like many google projects, shaderc doesn't gracefully support separately compiled dependencies, so we can't easily use
|
||||
# the versions of glslang and spirv-tools used by vulkan-loader. Exact revisions are taken from
|
||||
# https://github.com/google/shaderc/blob/known-good/known_good.json
|
||||
|
@ -42,7 +42,7 @@ in stdenv.mkDerivation rec {
|
|||
ln -s ${spirv-headers} third_party/spirv-tools/external/spirv-headers
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ cmake python3 ];
|
||||
nativeBuildInputs = [ cmake darwin.cctools python3 ];
|
||||
|
||||
postInstall = ''
|
||||
moveToOutput "lib/*.a" $static
|
||||
|
|
Loading…
Reference in a new issue