Mesa/dri_driver_dir.diff

23 lines
659 B
Diff
Raw Normal View History

--- src/egl/drivers/dri2/Makefile
+++ src/egl/drivers/dri2/Makefile
@@ -10,7 +10,7 @@
-I$(TOP)/include \
-I$(TOP)/src/egl/main \
-I$(TOP)/src/mesa \
- -DDEFAULT_DRIVER_DIR=\"$(DRI_DRIVER_SEARCH_DIR)\" \
+ -DDEFAULT_DRIVER_DIR=\"/usr/REPLACE/dri/updates:/usr/REPLACE/dri\" \
$(EGL_DRI2_CFLAGS)
EGL_LIBS = $(EGL_DRI2_LIBS)
--- src/glx/Makefile
+++ src/glx/Makefile
@@ -2,7 +2,7 @@
include $(TOP)/configs/current
EXTRA_DEFINES = -DXF86VIDMODE -D_REENTRANT \
- -DDEFAULT_DRIVER_DIR=\"$(DRI_DRIVER_SEARCH_DIR)\"
+ -DDEFAULT_DRIVER_DIR=\"/usr/REPLACE/dri/updates:/usr/REPLACE/dri\"
SOURCES = \
glcontextmodes.c \