From: Jason Ekstrand Date: Thu, 20 Oct 2016 23:04:16 +0000 (-0700) Subject: anv: Always use the full driver path in the intel_icd.*.json X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7ea4ef8849c5cc158adbdff1187b91f591552196;p=mesa.git anv: Always use the full driver path in the intel_icd.*.json Signed-off-by: Jason Ekstrand Reviewed-by: Emil Velikov Cc: "13.0" --- diff --git a/src/intel/vulkan/Makefile.am b/src/intel/vulkan/Makefile.am index ca5bf9f7f9e..069e3639011 100644 --- a/src/intel/vulkan/Makefile.am +++ b/src/intel/vulkan/Makefile.am @@ -176,15 +176,9 @@ dev_icd.json : dev_icd.json.in -e "s#@build_libdir@#${abs_top_builddir}/${LIB_DIR}#" \ < $(srcdir)/dev_icd.json.in > $@ -if VULKAN_ICD_DRIVER_PATH -ICD_DRIVER_PATH="${libdir}/libvulkan_intel.so" -else -ICD_DRIVER_PATH="libvulkan_intel.so" -endif - intel_icd.@host_cpu@.json : intel_icd.json.in $(AM_V_GEN) $(SED) \ - -e "s#@ICD_DRIVER_PATH@#${ICD_DRIVER_PATH}#" \ + -e "s#@install_libdir@#${libdir}#" \ < $(srcdir)/intel_icd.json.in > $@ # Libvulkan with dummy gem. Used for unit tests. diff --git a/src/intel/vulkan/intel_icd.json.in b/src/intel/vulkan/intel_icd.json.in index 4f50866b108..d9b363a9762 100644 --- a/src/intel/vulkan/intel_icd.json.in +++ b/src/intel/vulkan/intel_icd.json.in @@ -1,7 +1,7 @@ { "file_format_version": "1.0.0", "ICD": { - "library_path": "@ICD_DRIVER_PATH@", + "library_path": "@install_libdir@/libvulkan_intel.so", "abi_versions": "1.0.3" } }