Commit 82e79e93 authored by Jose Fonseca's avatar Jose Fonseca

scons: Eliminate libgcc_s_sjlj-1.dll dependency

Certain mingw32 cross compilers (e.g. RedHat's) defaults to use DLL gcc

Given the main deliverable from this project are self-contained drivers,
which are loaded by any application, this dependency can cause havoc.
parent aa31a5cb
......@@ -194,5 +194,8 @@ def generate(env):
env.AppendUnique(SHLINKFLAGS = ['-Wl,--enable-stdcall-fixup'])
#env.AppendUnique(SHLINKFLAGS = ['-Wl,--kill-at'])
# Avoid depending on gcc runtime DLLs
env.AppendUnique(LINKFLAGS = ['-static-libgcc'])
def exists(env):
return find(env)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment