diff --git a/gst-libs/gst/webrtc/Makefile.am b/gst-libs/gst/webrtc/Makefile.am index 8b3b8bae89..945c4c079d 100644 --- a/gst-libs/gst/webrtc/Makefile.am +++ b/gst-libs/gst/webrtc/Makefile.am @@ -4,7 +4,8 @@ glib_enum_headers = dtlstransport.h icetransport.h rtptransceiver.h webrtc_fwd.h glib_enum_define = GST_WEBRTC glib_gen_prefix = gst_webrtc glib_gen_basename = webrtc -glib_gen_decl_banner=GST_EXPORT +glib_gen_decl_banner=GST_WEBRTC_API +glib_gen_decl_include=\#include built_sources = webrtc-enumtypes.c built_headers = webrtc-enumtypes.h diff --git a/gst-libs/gst/webrtc/webrtc_mkenum.py b/gst-libs/gst/webrtc/webrtc_mkenum.py index fb6c2cba60..68a53faf10 100755 --- a/gst-libs/gst/webrtc/webrtc_mkenum.py +++ b/gst-libs/gst/webrtc/webrtc_mkenum.py @@ -8,11 +8,11 @@ import sys, os, shutil, subprocess h_array = ['--fhead', - "#ifndef __GST_WEBRTC_ENUM_TYPES_H__\n#define __GST_WEBRTC_ENUM_TYPES_H__\n\n#include \n\nG_BEGIN_DECLS\n", + "#ifndef __GST_WEBRTC_ENUM_TYPES_H__\n#define __GST_WEBRTC_ENUM_TYPES_H__\n\n#include \n#include \nG_BEGIN_DECLS\n", '--fprod', "\n/* enumerations from \"@filename@\" */\n", '--vhead', - "GST_EXPORT GType @enum_name@_get_type (void);\n#define GST_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n", + "GST_WEBRTC_API GType @enum_name@_get_type (void);\n#define GST_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n", '--ftail', "G_END_DECLS\n\n#endif /* __GST_WEBRTC_ENUM_TYPES_H__ */" ]