Dear all,

Which LT_INIT option would enable automatic hidden visibility?

The option -fvisibility=hidden is supported by all major
compilers today including gcc, clang, and icc. There is
-xldscope=hidden on Solaris too. I was hoping to see something similar
to adding "-fPIC -DPIC" automatically but only for shared libraries.
I was hoping for an option similar to "win32-dll" but for
sources that use explicit __attribute__((visibility("default")).

Thank you,


Reply via email to