diff --git a/meta-digi-dey/recipes-graphics/vulkan/vulkan/0001-CMakeLists.txt-Modify-the-library-path-to-point-to-u.patch b/meta-digi-dey/recipes-graphics/vulkan/vulkan/0001-CMakeLists.txt-Modify-the-library-path-to-point-to.patch similarity index 82% rename from meta-digi-dey/recipes-graphics/vulkan/vulkan/0001-CMakeLists.txt-Modify-the-library-path-to-point-to-u.patch rename to meta-digi-dey/recipes-graphics/vulkan/vulkan/0001-CMakeLists.txt-Modify-the-library-path-to-point-to.patch index ba7ed45b4..6e18c92cb 100644 --- a/meta-digi-dey/recipes-graphics/vulkan/vulkan/0001-CMakeLists.txt-Modify-the-library-path-to-point-to-u.patch +++ b/meta-digi-dey/recipes-graphics/vulkan/vulkan/0001-CMakeLists.txt-Modify-the-library-path-to-point-to.patch @@ -1,6 +1,6 @@ -From 5d967d036c49a4d609dec979c21fc34159788008 Mon Sep 17 00:00:00 2001 +From abb274c45150373c91bf74d4511b86e039f08306 Mon Sep 17 00:00:00 2001 From: Neena Busireddy -Date: Mon, 30 Apr 2018 13:52:36 -0500 +Date: Tue, 31 Jul 2018 18:22:49 -0500 Subject: [PATCH] CMakeLists.txt: Modify the library path to point to /usr/lib/libVK.so in json files @@ -10,7 +10,7 @@ Signed-off-by: Neena Busireddy 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layers/CMakeLists.txt b/layers/CMakeLists.txt -index 35a1b41..3af3975 100644 +index 35a1b41..9e761a5 100644 --- a/layers/CMakeLists.txt +++ b/layers/CMakeLists.txt @@ -92,7 +92,7 @@ if(UNIX) @@ -18,7 +18,7 @@ index 35a1b41..3af3975 100644 COMMAND mkdir -p ${CMAKE_CURRENT_BINARY_DIR}/staging-json COMMAND cp ${CMAKE_CURRENT_SOURCE_DIR}/linux/${config_file}.json ${CMAKE_CURRENT_BINARY_DIR}/staging-json - COMMAND sed -i -e "/\"library_path\":/s$./libVkLayer$libVkLayer$" ${CMAKE_CURRENT_BINARY_DIR}/staging-json/${config_file}.json -+ COMMAND sed -i -e "/\"library_path\":/s$./libVkLayer$$(libdir)/libVkLayer$" ${CMAKE_CURRENT_BINARY_DIR}/staging-json/${config_file}.json ++ COMMAND sed -i -e "/\"library_path\":/s$./libVkLayer$/usr/lib/libVkLayer$" ${CMAKE_CURRENT_BINARY_DIR}/staging-json/${config_file}.json VERBATIM DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/linux/${config_file}.json ) diff --git a/meta-digi-dey/recipes-graphics/vulkan/vulkan_%.bbappend b/meta-digi-dey/recipes-graphics/vulkan/vulkan_%.bbappend index 6e7c30f60..d2b0563a8 100644 --- a/meta-digi-dey/recipes-graphics/vulkan/vulkan_%.bbappend +++ b/meta-digi-dey/recipes-graphics/vulkan/vulkan_%.bbappend @@ -2,7 +2,7 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:" SRC_URI += " \ file://icd_VSI.json \ - file://0001-CMakeLists.txt-Modify-the-library-path-to-point-to-u.patch \ + file://0001-CMakeLists.txt-Modify-the-library-path-to-point-to.patch \ " # choose wayland PACKAGECONFIG = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '' ,d)}"