[vlc-devel] [RFC] Statically linked libvlccore

Rémi Denis-Courmont remi at remlab.net
Mon Aug 29 09:09:34 CEST 2011


   Hello,

To support linking all plug-ins statically into (shared) libvlc, it is
necessary to link libvlc after the modules. However we need to link
libvlccore before the plug-ins, at least in the normal case of shared
plug-ins.

The simplest solution probably consists of splitting libvlccore and libvlc
to separate two Makefiles, meaning two separate directories. This is not
very hard as such. But I don't really like libvlc in
src/control(/Makefile)... So I thought maybe src/control should be moved
one level up, e.g. to lib/. But then having lib/ and libs/ is not very good
either. So then I thought of either renaming libs to ext or moving each
libs to appropriate places under modules.

Basically:
src/control/ -> lib/
libs/unzip/ -> modules/access/unzip/
libs/loader/ -> modules/codec/loader/
libs/srtp/* -> modules/stream_out/rtp/*

If you have better ideas, please share ASAP.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list