[vlc-devel] Out-of-tree compilation: seeking clarification

Rémi Denis-Courmont remi at remlab.net
Mon Feb 15 16:01:28 UTC 2021

Le maanantaina 15. helmikuuta 2021, 17.46.55 EET Chris Angelico a écrit :
> I'm attempting to build a VLC interface module which will involve its
> own I/O thread. Following the instructions on the wiki has led to a
> few questions.
> https://wiki.videolan.org/OutOfTreeCompile/
> The example makefile uses pkg-config for cflags and libs, but
> hard-codes /usr/local/lib/vlc/plugins as the installation dir.
> Experimentation has shown that `pkg-config vlc-plugin
> --variable=pluginsdir` gives me the correct path on my system; but is
> that going to be reliable on other systems?

This will work as well as CFLAGS and LIBS work.

I don't remember if it was added after the wiki was written.


More information about the vlc-devel mailing list