summaryrefslogtreecommitdiffstats
path: root/src/egl
diff options
context:
space:
mode:
authorJose Fonseca <[email protected]>2015-03-24 20:11:36 +0000
committerJose Fonseca <[email protected]>2015-03-25 10:42:32 +0000
commitf9b8c9299d10542c9806927018a488f84adcb036 (patch)
treeaf4d55c2ee14b23f77ab9acabdcc59b8c52bd299 /src/egl
parent5db57b8a55bb1961f1ada029f63c1f07511d60aa (diff)
scons: Don't build egl on Windows.
Useless, as there are no drivers for it. Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/egl')
-rw-r--r--src/egl/main/Makefile.am1
-rw-r--r--src/egl/main/SConscript11
2 files changed, 1 insertions, 11 deletions
diff --git a/src/egl/main/Makefile.am b/src/egl/main/Makefile.am
index 893ad266bfe..b6617366c7e 100644
--- a/src/egl/main/Makefile.am
+++ b/src/egl/main/Makefile.am
@@ -26,7 +26,6 @@ AM_CFLAGS = \
-I$(top_srcdir)/src/gbm/main \
$(DEFINES) \
$(VISIBILITY_CFLAGS) \
- $(MSVC2013_COMPAT_CFLAGS) \
$(EGL_CFLAGS) \
-D_EGL_NATIVE_PLATFORM=$(EGL_NATIVE_PLATFORM) \
-D_EGL_DRIVER_SEARCH_DIR=\"$(libdir)/egl\" \
diff --git a/src/egl/main/SConscript b/src/egl/main/SConscript
index b4e9b67a2ef..c0012831bb9 100644
--- a/src/egl/main/SConscript
+++ b/src/egl/main/SConscript
@@ -6,20 +6,11 @@ Import('*')
env = env.Clone()
-env.MSVC2013Compat()
-
env.Append(CPPDEFINES = [
'_EGL_DRIVER_SEARCH_DIR=\\"\\"',
])
-if env['platform'] == 'windows':
- env.Append(CPPDEFINES = [
- '_EGL_NATIVE_PLATFORM=_EGL_PLATFORM_WINDOWS',
- '_EGL_OS_WINDOWS',
- '_EGL_GET_CORE_ADDRESSES',
- 'KHRONOS_DLL_EXPORTS',
- ])
-elif env['platform'] == 'haiku':
+if env['platform'] == 'haiku':
env.Append(CPPDEFINES = [
'_EGL_NATIVE_PLATFORM=_EGL_PLATFORM_HAIKU',
'_EGL_OS_UNIX',