Also use default visibility for plugins symbol
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 16 May 2017 17:31:06 +0000 (13:31 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 16 May 2017 17:31:06 +0000 (13:31 -0400)
gst/gstconfig.h.in

index 5d7bc3a..457e60d 100644 (file)
 #  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