[Mesa-dev] [PATCH 08/14] egl: remove unused _EGL_DRIVER_SEARCH_DIR define

Emil Velikov emil.l.velikov at gmail.com
Tue Jul 14 08:02:42 PDT 2015


Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 src/egl/main/Android.mk  | 3 +--
 src/egl/main/Makefile.am | 3 +--
 src/egl/main/SConscript  | 4 ----
 3 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/src/egl/main/Android.mk b/src/egl/main/Android.mk
index 4856528..270c165 100644
--- a/src/egl/main/Android.mk
+++ b/src/egl/main/Android.mk
@@ -39,8 +39,7 @@ include $(CLEAR_VARS)
 LOCAL_SRC_FILES := $(SOURCES)
 
 LOCAL_CFLAGS := \
-	-D_EGL_NATIVE_PLATFORM=_EGL_PLATFORM_ANDROID \
-	-D_EGL_DRIVER_SEARCH_DIR=\"/system/lib/egl\"
+	-D_EGL_NATIVE_PLATFORM=_EGL_PLATFORM_ANDROID
 
 LOCAL_SHARED_LIBRARIES := \
 	libdl \
diff --git a/src/egl/main/Makefile.am b/src/egl/main/Makefile.am
index 77f8b34..03fb826 100644
--- a/src/egl/main/Makefile.am
+++ b/src/egl/main/Makefile.am
@@ -27,8 +27,7 @@ AM_CFLAGS = \
 	$(DEFINES) \
 	$(VISIBILITY_CFLAGS) \
 	$(EGL_CFLAGS) \
-	-D_EGL_NATIVE_PLATFORM=$(EGL_NATIVE_PLATFORM) \
-	-D_EGL_DRIVER_SEARCH_DIR=\"$(libdir)/egl\"
+	-D_EGL_NATIVE_PLATFORM=$(EGL_NATIVE_PLATFORM)
 
 lib_LTLIBRARIES = libEGL.la
 
diff --git a/src/egl/main/SConscript b/src/egl/main/SConscript
index b77ae78..631ba20 100644
--- a/src/egl/main/SConscript
+++ b/src/egl/main/SConscript
@@ -7,10 +7,6 @@ Import('*')
 env = env.Clone()
 
 env.Append(CPPDEFINES = [
-    '_EGL_DRIVER_SEARCH_DIR=\\"\\"',
-])
-
-env.Append(CPPDEFINES = [
     '_EGL_NATIVE_PLATFORM=_EGL_PLATFORM_HAIKU',
     '_EGL_BUILT_IN_DRIVER_HAIKU',
 ])
-- 
2.4.5



More information about the mesa-dev mailing list