Disallow CLAP support with 32-bit yabridge

The cookies won't be able to be stored correctly here, so it's best to
just outright prevent this.
This commit is contained in:
Robbert van der Helm
2022-10-01 14:14:59 +02:00
parent 866b7660de
commit 176a2684d4
2 changed files with 11 additions and 4 deletions
+6
View File
@@ -27,6 +27,12 @@ with_system_asio = get_option('system-asio')
with_winedbg = get_option('winedbg')
with_vst3 = get_option('vst3')
# Cookies can't be stored correctly when the native host is 32-bit and the
# bridged plugin is 64-bit
if with_clap and with_32bit_libraries and is_64bit_system
error('CLAP support will not work correctly when using 32-bit yabridge libraries together with 64-bit host binaries.')
endif
#
# Compiler flags
#