GNOME Bugzilla – Bug 573165
Generate additional export files for gstreamer app plugin
Last modified: 2009-02-25 19:54:57 UTC
Add $(GST_LIB_LDFLAGS) to libgstapp_@GST_MAJORMINOR@_la_LDFLAGS in gst-plugins-base/gst-libs/gst/app/Makefile.am This causes --export-symbols-regex argument to appear at link time and leads to .def and .exp file being generated alongside with .dll app plugin seems to be the only plugin that is not generating .def file. Which is odd, because gstapp is the only plugin that actually exports useful API function on its own.
Nice catch, thanks! commit 07d2dbfdfec75e9cded0ac90e3bb0a33929de4a1 Author: Tim-Philipp Müller <tim.muller@collabora.co.uk> Date: Wed Feb 25 19:40:43 2009 +0000 app: add win32 .def file and only export functions we want exported Add a .def file for win32 builds (and make check-exports). Fix LDFLAGS in Makefile.am, so the usual export regexps are used (fixes #573165). Make sure private marshaller functions aren't exported by prefixing them with __gst; also rename gst_app_marshal_OBJECT__VOID to _BUFFER__VOID, make it static and add a comment why we're not using glib-genmarshal for this one.