13
0

LiveTrax: disable plugin support (exclude plugin scan tools)

This commit is contained in:
Robin Gareus 2024-04-27 03:03:02 +02:00
parent 2f8b1186ae
commit 119698e371
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

24
wscript
View File

@ -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'] = []