egl: remove unused _EGL_DRIVER_SEARCH_DIR define
authorEmil Velikov <emil.l.velikov@gmail.com>
Tue, 14 Jul 2015 00:58:12 +0000 (01:58 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 22 Jul 2015 15:35:27 +0000 (16:35 +0100)
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/egl/main/Android.mk
src/egl/main/Makefile.am
src/egl/main/SConscript

index 4856528ed54a8a4fa5da733d21f1641b8f9dab7c..270c165eb99742955465ba8198e57d14879c23c8 100644 (file)
@@ -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 \
index 77f8b34aceea6c6f95bbdd9aa9a1819bbba6a451..03fb826a5e6ba8b3b260d50d65b8fcb52dcb5718 100644 (file)
@@ -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
 
index b77ae7839411aebba559fa43fcb0092de1844d4c..631ba20826a367d92b7100f756065877f1edc1a8 100644 (file)
@@ -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',