view src/mingw-osmesa-1-fixes.patch @ 3790:a169ad26bac2

use scons to build osmesa on windows systems
author John W. Eaton <jwe@octave.org>
date Sun, 15 Feb 2015 13:33:36 -0500
parents
children 4f586cfb8438
line wrap: on
line source

diff -uNr a/scons/gallium.py b/scons/gallium.py
--- a/scons/gallium.py	2014-06-25 00:33:39.000000000 -0400
+++ b/scons/gallium.py	2015-02-15 12:07:49.271713764 -0500
@@ -529,10 +529,6 @@
         else:
             env['_LIBFLAGS'] = '-Wl,--start-group ' + env['_LIBFLAGS'] + ' -Wl,--end-group'
         if env['platform'] == 'windows':
-            # Avoid depending on gcc runtime DLLs
-            linkflags += ['-static-libgcc']
-            if 'w64' in env['CC'].split('-'):
-                linkflags += ['-static-libstdc++']
             # Handle the @xx symbol munging of DLL exports
             shlinkflags += ['-Wl,--enable-stdcall-fixup']
             #shlinkflags += ['-Wl,--kill-at']