diff options
Diffstat (limited to 'muse2/synti/deicsonze/deicsonze.cpp')
-rw-r--r-- | muse2/synti/deicsonze/deicsonze.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/muse2/synti/deicsonze/deicsonze.cpp b/muse2/synti/deicsonze/deicsonze.cpp index 3dc5fafd..4eea4102 100644 --- a/muse2/synti/deicsonze/deicsonze.cpp +++ b/muse2/synti/deicsonze/deicsonze.cpp @@ -1660,7 +1660,12 @@ extern "C" { MESS_MAJOR_VERSION, MESS_MINOR_VERSION, instantiate }; + // We must compile with -fvisibility=hidden to avoid namespace + // conflicts with global variables. + // Only visible symbol is "mess_descriptor". + // (TODO: all plugins should be compiled this way) + __attribute__ ((visibility("default"))) const MESS* mess_descriptor() { return &descriptor; } } |