Hide all symbols by default

As mentioned by @abique. Could prevent issues caused by symbol clashes,
and it also greatly reduces the size of all binaries.
This commit is contained in:
Robbert van der Helm
2020-11-27 20:40:59 +01:00
parent c8b4b04b19
commit cbf276b7dc
4 changed files with 13 additions and 5 deletions
+2 -1
View File
@@ -39,7 +39,8 @@
* The explicit calling convention is needed to work around a bug introduced in
* Wine 5.7: https://bugs.winehq.org/show_bug.cgi?id=49138
*/
int __cdecl main(int argc, char* argv[]) {
int __cdecl __attribute__((visibility("default")))
main(int argc, char* argv[]) {
set_realtime_priority();
// Instead of directly hosting a plugin, this process will receive a UNIX
+2 -1
View File
@@ -32,7 +32,8 @@
* The explicit calling convention is needed to work around a bug introduced in
* Wine 5.7: https://bugs.winehq.org/show_bug.cgi?id=49138
*/
int __cdecl main(int argc, char* argv[]) {
int __cdecl __attribute__((visibility("default")))
main(int argc, char* argv[]) {
set_realtime_priority();
// We pass the name of the VST plugin .dll file to load and the base