From: Emil Velikov Date: Tue, 14 Jul 2015 00:58:12 +0000 (+0100) Subject: egl: remove unused _EGL_DRIVER_SEARCH_DIR define X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a1202807dccc6e2ac02ff52639a49f6c2d06648d;p=mesa.git egl: remove unused _EGL_DRIVER_SEARCH_DIR define Signed-off-by: Emil Velikov Reviewed-by: Matt Turner --- 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',