From d971a4230d54069c996bca78b6ed6a6a23377821 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 15 Nov 2018 13:54:49 -0800 Subject: loader: Factor out the common driver opening logic from each loader. I copied the code from egl_dri2.c, but the functionality was equivalent between all the loaders other than their particular environment variables. v2: Drop the logging function equivalent to loader_default_logger() (requested by Eric, Emil). Move the SCons workaround across. Drop the now-unused driGetDriverExtensions() declaration that was lost in a rebase. Reviewed-by: Eric Engestrom (v1) Reviewed-by: Emil Velikov (v1) --- src/glx/meson.build | 1 - 1 file changed, 1 deletion(-) (limited to 'src/glx/meson.build') diff --git a/src/glx/meson.build b/src/glx/meson.build index dd8ba60ad80..1de35fca6bc 100644 --- a/src/glx/meson.build +++ b/src/glx/meson.build @@ -134,7 +134,6 @@ endif gl_lib_cargs = [ '-D_REENTRANT', - '-DDEFAULT_DRIVER_DIR="@0@"'.format(dri_search_path), ] if dep_xxf86vm.found() -- cgit v1.2.3