Merge pull request #38 from francesco-st/patch-2
Use -static-libgcc only if the compiler is gcc
This commit is contained in:
commit
a40acce382
|
@ -28,7 +28,7 @@ foreach data_module : ['core', 'fonts', 'plugins', 'colors']
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
lite_link_args = []
|
lite_link_args = []
|
||||||
if get_option('buildtype') == 'release'
|
if cc.get_id() == 'gcc' and get_option('buildtype') == 'release'
|
||||||
lite_link_args += ['-static-libgcc', '-static-libstdc++']
|
lite_link_args += ['-static-libgcc', '-static-libstdc++']
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue