From 5bf3b971189d64f098e89d64468a2c1ec81a56a6 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Tue, 17 Aug 2021 15:49:38 +0200 Subject: [PATCH] Hide symbols in VST3 static libraries I noticed a couple of UID/string conversion related symbols showing up in the text section. --- src/common/vst3/meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/common/vst3/meson.build b/src/common/vst3/meson.build index c9de433a..88f29275 100644 --- a/src/common/vst3/meson.build +++ b/src/common/vst3/meson.build @@ -3,7 +3,9 @@ # variables there, and to then assemble the dependencies here ourselves. vst3 = subproject('vst3', version : '3.7.3') -vst3_compiler_options = vst3.get_variable('compiler_options') + +# Also include our normal compiler options so symbols are hidden by default +vst3_compiler_options = compiler_options + vst3.get_variable('compiler_options') vst3_include_dir = vst3.get_variable('include_dir') # We need to do some minor hacking to get the SDK to compile with winegcc. Most