summaryrefslogtreecommitdiffstats
path: root/src/glx/dri_common.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2018-11-15 13:41:34 -0800
committerEric Anholt <[email protected]>2018-11-16 15:37:47 -0800
commit7076e9f116c2060a7f28680178d96c188c7177df (patch)
treebe92c2e6cde5f68a68e6a1907d721496a815fbfc /src/glx/dri_common.c
parentd031d5c9994bd67329f2b2c7e9a4457af671b05a (diff)
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 <[email protected]> (v1) Reviewed-by: Emil Velikov <[email protected]> (v1)
Diffstat (limited to 'src/glx/dri_common.c')
-rw-r--r--src/glx/dri_common.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/glx/dri_common.c b/src/glx/dri_common.c
index ab5d6c5bc03..08923d7efd5 100644
--- a/src/glx/dri_common.c
+++ b/src/glx/dri_common.c
@@ -77,11 +77,6 @@ dri_message(int level, const char *f, ...)
#define GL_LIB_NAME "libGL.so.1"
#endif
-#ifndef DEFAULT_DRIVER_DIR
-/* this is normally defined in Mesa/configs/default with DRI_DRIVER_SEARCH_PATH */
-#define DEFAULT_DRIVER_DIR "/usr/local/lib/dri"
-#endif
-
/**
* Try to \c dlopen the named driver.
*