diff options
author | Tim E. Real <termtech@rogers.com> | 2010-11-01 08:36:22 +0000 |
---|---|---|
committer | Tim E. Real <termtech@rogers.com> | 2010-11-01 08:36:22 +0000 |
commit | bf32fe9882d7dd1dd6fbb88f39a42371063b6cd6 (patch) | |
tree | 57ce439a666b14632a186d859fd357134e6c414b /muse2/synti/fluid/fluid.cpp | |
parent | 4f767f96be2382c3f73a9619097a8cbabe3f7587 (diff) |
All MESS plugins: compile with -fvisibility=hidden, fixes LADSPA plugins not appearing in list.
Added simpledrums2 (from muse_qt4_evolution).
Diffstat (limited to 'muse2/synti/fluid/fluid.cpp')
-rw-r--r-- | muse2/synti/fluid/fluid.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/muse2/synti/fluid/fluid.cpp b/muse2/synti/fluid/fluid.cpp index a03be4de..13cfbef3 100644 --- a/muse2/synti/fluid/fluid.cpp +++ b/muse2/synti/fluid/fluid.cpp @@ -61,6 +61,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; } } |