Also use default visibility for plugins symbol

This commit is contained in:
Nicolas Dufresne 2017-05-16 13:31:06 -04:00
parent d143af2c77
commit eafaefe9da

View file

@ -146,10 +146,11 @@
# define GST_EXPORT __declspec(dllimport) extern
# endif
#else
# define GST_PLUGIN_EXPORT
# if defined(__GNUC__) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590))
# define GST_PLUGIN_EXPORT __attribute__ ((visibility ("default")))
# define GST_EXPORT extern __attribute__ ((visibility ("default")))
# else
# define GST_PLUGIN_EXPORT
# define GST_EXPORT extern
# endif
#endif