summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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',
])