• Martin Storsjö's avatar
    libavcodec: Don't use dllexport, only dllimport when building DLLs · 3152058b
    Martin Storsjö authored
    The only purpose of dllexport (which is set while building the library
    that exports the symbols) is to have the linker automatically
    export such symbols into a DLL without using a def file - it doesn't
    affect the generated code.
    
    For both MSVC and mingw builds, this isn't essential since we override
    what symbols to export via an autogenerated def file instead.
    
    Update a comment in configure to refer to the right concept.
    
    With lld, this avoids warnings about duplicate export directives,
    when some symbols are requested to be exported both via dllexport
    attributes and via the autogenerated def file.
    
    This also reduces the number of lines of code marginally.
    Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
    3152058b
Name
Last commit
Last update
avbuild Loading commit data...
avtools Loading commit data...
compat Loading commit data...
doc Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavresample Loading commit data...
libavutil Loading commit data...
libswscale Loading commit data...
presets Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
COPYING.GPLv2 Loading commit data...
COPYING.GPLv3 Loading commit data...
COPYING.LGPLv2.1 Loading commit data...
COPYING.LGPLv3 Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
RELEASE Loading commit data...
configure Loading commit data...