mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 16:00:08 +01:00
anv: install the intel_icd.json to ${datarootdir} by default
As mentioned by the spec (and used by Archlinux and Debian) default to
${datarootdir} as opposed to ${sysconfdir} for the default location.
Cc: Jason Ekstrand <jason@jlekstrand.net>
Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
(cherry picked from commit cbc37f72e3)
This commit is contained in:
parent
7af5c2834c
commit
dbb4c3c7c8
1 changed files with 1 additions and 1 deletions
|
|
@ -1640,7 +1640,7 @@ AC_ARG_WITH([vulkan-icddir],
|
||||||
[AS_HELP_STRING([--with-vulkan-icddir=DIR],
|
[AS_HELP_STRING([--with-vulkan-icddir=DIR],
|
||||||
[directory for the Vulkan driver icd files @<:@${sysconfdir}/vulkan/icd.d@:>@])],
|
[directory for the Vulkan driver icd files @<:@${sysconfdir}/vulkan/icd.d@:>@])],
|
||||||
[VULKAN_ICD_INSTALL_DIR="$withval"],
|
[VULKAN_ICD_INSTALL_DIR="$withval"],
|
||||||
[VULKAN_ICD_INSTALL_DIR='${sysconfdir}/vulkan/icd.d'])
|
[VULKAN_ICD_INSTALL_DIR='${datarootdir}/vulkan/icd.d'])
|
||||||
AC_SUBST([VULKAN_ICD_INSTALL_DIR])
|
AC_SUBST([VULKAN_ICD_INSTALL_DIR])
|
||||||
|
|
||||||
if test -n "$with_vulkan_drivers"; then
|
if test -n "$with_vulkan_drivers"; then
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue