Also use default visibility for plugins symbol

This commit is contained in:
Nicolas Dufresne 2017-05-16 13:31:06 -04:00 committed by Sebastian Dröge
parent 0352283f43
commit 8dca248e10

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