Merge pull request #97679 from acowley/vulkan-loader-fix

vulkan-loader: fix pkgconfig libdir path
This commit is contained in:
Daniël de Kok 2020-09-24 08:11:29 +02:00 committed by GitHub
commit 2504403f87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,9 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
preConfigure = ''
substituteInPlace loader/vulkan.pc.in --replace 'includedir=''${prefix}/include' 'includedir=${vulkan-headers}/include'
substituteInPlace loader/vulkan.pc.in \
--replace 'includedir=''${prefix}/include' 'includedir=${vulkan-headers}/include' \
--replace 'libdir=''${exec_prefix}/@CMAKE_INSTALL_LIBDIR@' 'libdir=@CMAKE_INSTALL_LIBDIR@'
'';
cmakeFlags = [