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 40b7fc151de72f47019649dbb6f8a733952b8829..b0578e892583c14a0759a4196bc17b5e92b0440a 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 3d32279ea26da64e1d809cbc45fa29d86e858150..36ddba82bd39daf57312ce86779615d8e8ae34cc 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)