diff options
author | Jason Ekstrand <[email protected]> | 2016-08-22 18:11:41 -0700 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2016-08-25 10:32:31 +1000 |
commit | 05f36435ef117e48f457b44877d04dd6249b3bb7 (patch) | |
tree | 31c69884e71d703770695b503b6f14da7abab61e /configure.ac | |
parent | c8f5bd2c9960a8efe4d923e2a5aab7c169d68769 (diff) |
anv: Add a --disable-vulkan-icd-full-driver-path option
This option makes installed Vulkan ICD files contain only a driver library
name and not a path. This is intended for distros to help them work around
multi-arch issues.
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 3aa15c7b087..5a35599cccc 100644 --- a/configure.ac +++ b/configure.ac @@ -1645,6 +1645,13 @@ AC_ARG_WITH([vulkan-icddir], [VULKAN_ICD_INSTALL_DIR='${datarootdir}/vulkan/icd.d']) AC_SUBST([VULKAN_ICD_INSTALL_DIR]) +AC_ARG_ENABLE([vulkan-icd-full-driver-path], + [AS_HELP_STRING([--disable-vulkan-icd-full-driver-path], + [create Vulkan ICD files with just a .so name and no path])], + [vulkan_icd_driver_path="$enableval"], + [vulkan_icd_driver_path="yes"]) +AM_CONDITIONAL(VULKAN_ICD_DRIVER_PATH, test "x$vulkan_icd_driver_path" = xyes) + if test -n "$with_vulkan_drivers"; then VULKAN_DRIVERS=`IFS=', '; echo $with_vulkan_drivers` for driver in $VULKAN_DRIVERS; do |