diff --git a/wscript b/wscript index b2753e891b..0afe6733fc 100644 --- a/wscript +++ b/wscript @@ -1502,9 +1502,33 @@ int main () { __int128 x = 0; return 0; } if not (Options.options.dist_target == 'mingw' or Options.options.dist_target == 'msvc'): conf.env.append_value('LIB', 'm') + if Options.options.program_name.lower() == "livetrax": + conf.env['VST3_SUPPORT'] = False + conf.env['WINDOWS_VST_SUPPORT'] = False + conf.env['LXVST_SUPPORT'] = False + conf.undefine('VST3_SUPPORT') + conf.undefine('WINDOWS_VST_SUPPORT') + conf.undefine('LXVST_SUPPORT') + conf.undefine('MACVST_SUPPORT') + conf.undefine('LV2_SUPPORT') + conf.undefine('LV2_EXTENDED') + conf.undefine('HAVE_SUIL') + for i in children: conf.recurse(i) + if Options.options.program_name.lower() == "livetrax": + conf.env['VST3_SUPPORT'] = False + conf.env['WINDOWS_VST_SUPPORT'] = False + conf.env['LXVST_SUPPORT'] = False + conf.undefine('VST3_SUPPORT') + conf.undefine('WINDOWS_VST_SUPPORT') + conf.undefine('LXVST_SUPPORT') + conf.undefine('MACVST_SUPPORT') + conf.undefine('LV2_SUPPORT') + conf.undefine('LV2_EXTENDED') + conf.undefine('HAVE_SUIL') + # Fix utterly braindead FLAC include path to not smash assert.h conf.env['INCLUDES_FLAC'] = []