[Bug 771029] MSVC can't link against autotools-build generated DLLs
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Sep 13 08:18:55 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=771029
Nirbheek Chauhan <nirbheek.chauhan at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Nirbheek Chauhan <nirbheek.chauhan at gmail.com> ---
commit b6e69ffdfb3bb21dbada8f01b488ae877f8d205c
Author: Nirbheek Chauhan <nirbheek at centricular.com>
Date: Thu Sep 8 12:58:54 2016 +0530
gstconfig: Use __declspec when built with MinGW and linking with MSVC
Earlier we were only using __declspec(dllexport/import) when we were
built with MSVC because when built with MinGW and linking with MinGW we
don't need it (and we get linker errors because of it).
However, when we're built with MinGW and someone wants to link to us
with MSVC, we still need the prototypes to have __declspec(dllimport)
since MSVC cannot do auto-import like GCC can.
https://bugzilla.gnome.org/show_bug.cgi?id=771029
--
You are receiving this mail because:
You are the QA Contact for the bug.
More information about the gstreamer-bugs
mailing list