vulkan-loader: fix include path in pkgconfig description (#170748)
This commit is contained in:
parent
5f221dd7b3
commit
c55ce6c9bb
|
@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "sha256-NQu98wA7UK231rpoKDs1yQ6pEyB4wZg7MjFC3JwS2BY=";
|
||||
});
|
||||
|
||||
patches = [ ./fix-pkgconfig.patch ];
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
buildInputs = [ vulkan-headers ]
|
||||
++ lib.optionals (!stdenv.isDarwin) [ libX11 libxcb libXrandr wayland ];
|
||||
|
|
14
pkgs/development/libraries/vulkan-loader/fix-pkgconfig.patch
Normal file
14
pkgs/development/libraries/vulkan-loader/fix-pkgconfig.patch
Normal file
|
@ -0,0 +1,14 @@
|
|||
diff --git a/loader/vulkan.pc.in b/loader/vulkan.pc.in
|
||||
index 153815577..584b15273 100644
|
||||
--- a/loader/vulkan.pc.in
|
||||
+++ b/loader/vulkan.pc.in
|
||||
@@ -1,7 +1,5 @@
|
||||
-prefix=@CMAKE_INSTALL_PREFIX@
|
||||
-exec_prefix=${prefix}
|
||||
-libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
|
||||
-includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
|
||||
+libdir=@CMAKE_INSTALL_LIBDIR@
|
||||
+includedir=@CMAKE_INSTALL_INCLUDEDIR@
|
||||
|
||||
Name: @CMAKE_PROJECT_NAME@
|
||||
Description: Vulkan Loader
|
Loading…
Reference in a new issue