autodesk-forks / MaterialX

MaterialX C++ and Python libraries
http://www.materialx.org/
Apache License 2.0
107 stars 23 forks source link

Hide the visibility of symbols for MaterialX #1049

Open ashwinbhat opened 3 years ago

ashwinbhat commented 3 years ago

When MaterialX is linked into multiple dylibs/so, symbols should be hidden so that they step on each other. Add: -fvisibility-inlines-hidden -fvisibility=hidden