[vlc-devel] [PATCH] Fix libmod_plugin undefined __imp_ symbols building for win32

Rémi Denis-Courmont remi at remlab.net
Thu Jun 12 12:39:47 CEST 2014


Le 2014-06-12 18:34, Konstantinos Tsanaktsidis a écrit :
> This patch therefore sets libmod_plugin_la_CPPFLAGS to define the
> MODPLUG_STATIC macro, which causes modplug.h to not define 
> MODPLUG_EXPORT
> in this way. An alternative option would be to add a patch to 
> contribs
> to remove this behaviour from modplug.h, but this seems cleaner.

Better add the -D... flag to the modplug pkg-config, I would argue.

IOW, patch contribs.

-- 
Rémi Denis-Courmont



More information about the vlc-devel mailing list