From a1202807dccc6e2ac02ff52639a49f6c2d06648d Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Tue, 14 Jul 2015 01:58:12 +0100 Subject: [PATCH] egl: remove unused _EGL_DRIVER_SEARCH_DIR define Signed-off-by: Emil Velikov Reviewed-by: Matt Turner --- 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 4856528ed54..270c165eb99 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 77f8b34acee..03fb826a5e6 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 b77ae783941..631ba20826a 100644 --- a/src/egl/main/SConscript +++ b/src/egl/main/SConscript @@ -6,10 +6,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.30.2