aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/glx/SConscript3
-rw-r--r--src/glx/dri_common.c5
2 files changed, 2 insertions, 6 deletions
diff --git a/src/glx/SConscript b/src/glx/SConscript
index 8ce17715814..83c62e22f8c 100644
--- a/src/glx/SConscript
+++ b/src/glx/SConscript
@@ -24,9 +24,10 @@ env.Prepend(CPPPATH = [
env.Append(CPPDEFINES = [
'_REENTRANT',
- #('DEFAULT_DRIVER_DIR', 'DRI_DRIVER_SEARCH_DIR')
])
+env.Append(CPPDEFINES = ['DEFAULT_DRIVER_DIR=\\"/usr/local/lib/dri\\"'])
+
env.Prepend(LIBS = [
libloader,
mesautil,
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.
*