[Mesa-dev] [PATCH v2] meson: Don't confuse the install and search paths for dri drivers
Emil Velikov
emil.l.velikov at gmail.com
Fri Jan 19 18:28:18 UTC 2018
On 17 January 2018 at 21:34, Dylan Baker <dylan at pnwbakers.com> wrote:
> Currently there is not a separate option for setting the search path of
> DRI drivers in meson, like there is in scons and autotools. This is an
> oversight and needs to be fixed. This adds an extra option
> `dri-search-path`, which will default to the value of
> `dri-drivers-path`, like autotools does.
>
> v2: - Split input list before joining.
>
I was wondering for a while, if we really need both options in autotools.
Esp. since to use a custom loader one needs to
LD_PRELOAD/LD_LIBRARY_PATH it already.
Thus adding the LIBGL_DRIVERS_PATH is trivial, either way.
The following approach is a bit shorter and easier to read.
dri_search_path = get_option('dri-search-path')
iif dri_search_path == ''
dri_search_path = dri_drivers_path
endif
-Emil
More information about the mesa-dev
mailing list