Commit 7076e9f1 authored by Eric Anholt's avatar Eric Anholt

glx: Remove an old DEFAULT_DRIVER_DIR default.

You can tell by "Mesa/configs/default" how old this is.  Your build system
really has to provide the DEFAULT_DRIVER_DIR, or other loaders will break.

v2: Move the bad (non-prefix-dependent) define to the SConscript to avoid
    breaking it.

Reviewed-by: Eric Engestrom <> (v1)
Reviewed-by: Emil Velikov <> (v1)
parent d031d5c9
......@@ -24,9 +24,10 @@ env.Prepend(CPPPATH = [
env.Append(CPPDEFINES = [
env.Append(CPPDEFINES = ['DEFAULT_DRIVER_DIR=\\"/usr/local/lib/dri\\"'])
env.Prepend(LIBS = [
......@@ -77,11 +77,6 @@ dri_message(int level, const char *f, ...)
#define GL_LIB_NAME ""
/* this is normally defined in Mesa/configs/default with DRI_DRIVER_SEARCH_PATH */
#define DEFAULT_DRIVER_DIR "/usr/local/lib/dri"
* Try to \c dlopen the named driver.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment