scons: Don't build loader on Windows.
authorJose Fonseca <jfonseca@vmware.com>
Tue, 24 Mar 2015 20:26:21 +0000 (20:26 +0000)
committerJose Fonseca <jfonseca@vmware.com>
Wed, 25 Mar 2015 10:42:35 +0000 (10:42 +0000)
EGL was the last user.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/SConscript
src/loader/Makefile.am

index 40b7fc1..b0578e8 100644 (file)
@@ -12,7 +12,8 @@ if env['hostonly']:
     # compilation
     Return()
 
-SConscript('loader/SConscript')
+if env['platform'] != 'windows':
+    SConscript('loader/SConscript')
 
 # When env['gles'] is set, the targets defined in mapi/glapi/SConscript are not
 # used.  libgl-xlib and libgl-gdi adapt themselves to use the targets defined
index 3d32279..36ddba8 100644 (file)
@@ -30,7 +30,6 @@ libloader_la_CPPFLAGS = \
        -I$(top_srcdir)/include \
        -I$(top_srcdir)/src \
        $(VISIBILITY_CFLAGS) \
-       $(MSVC2013_COMPAT_CFLAGS) \
        $(LIBUDEV_CFLAGS)
 
 libloader_la_SOURCES = $(LOADER_C_FILES)