some mingw related tweaks to the build-environment.

This commit is contained in:
Robin Gareus 2014-03-03 16:09:14 +01:00
parent 6442f316d4
commit 9952f774e9
2 changed files with 1 additions and 3 deletions

View File

@ -403,8 +403,6 @@ def build(bld):
# Windows VST support mingw
obj.source += (
'../libs/fst/fst.c',
'../libs/fst/fstinfofile.c',
'../libs/fst/vsti.c',
'../libs/fst/vstwin.c',
'../vst/winmain.c',
)

View File

@ -407,7 +407,7 @@ def set_compiler_flags (conf,opt):
conf.env.append_value('CXXFLAGS', optimization_flags)
if opt.backtrace:
if platform != 'darwin' and not is_clang:
if platform != 'darwin' and not is_clang and not Options.options.dist_target == 'mingw':
linker_flags += [ '-rdynamic' ]
conf.env.append_value('CFLAGS', compiler_flags)