[vlc-devel] [vlc-commits] commit: GME: fix linking on Win32 (Jean-Baptiste Kempf )

Rémi Denis-Courmont remi at remlab.net
Tue Nov 2 17:25:58 CET 2010


Le mardi 2 novembre 2010 18:18:58 Jean-Baptiste Kempf, vous avez écrit :
> On Tue, Nov 02, 2010 at 06:12:19PM +0200, Rémi Denis-Courmont wrote :
> > Is this sufficient?
> 
> Weirdly, yes. :D
> 
> > AFAIK, we should rather use the CXX linker than manually
> > link with stdc++. Adding a dummy.cpp empty fils in the source list of the
> > plugin in case HAVE_WIN32 should do the trick.
> 
> I am not even sure the issue is Win32-specific but it might be all
> static-linking of gme.

I don't see what else could cause this. Of course, you need the C++ runtime if 
you link a C++ library statically. And you do not to do that if you link it 
dynamically only through C symbols.

-- 
Rémi Denis-Courmont
http://www.remlab.net/
http://fi.linkedin.com/in/remidenis



More information about the vlc-devel mailing list