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,
Alexei

_______________________________________________
https://lists.gnu.org/mailman/listinfo/libtool

Reply via email to