summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2015-07-14 01:58:12 +0100
committerEmil Velikov <[email protected]>2015-07-22 16:35:27 +0100
commita1202807dccc6e2ac02ff52639a49f6c2d06648d (patch)
tree49b83f5636509c304eedef6bcf87022ea62de312
parent0b915856bac4871b90c101b44a2830b9a0e22e05 (diff)
egl: remove unused _EGL_DRIVER_SEARCH_DIR define
Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Matt Turner <[email protected]>
-rw-r--r--src/egl/main/Android.mk3
-rw-r--r--src/egl/main/Makefile.am3
-rw-r--r--src/egl/main/SConscript4
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
@@ -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',
])