[vlc-devel] [vlc-commits] Configure: use static linking if our contribs are used
Rémi Denis-Courmont
remi at remlab.net
Wed Jun 29 16:19:50 CEST 2016
Le 2016-06-29 16:08, Jean-Baptiste Kempf a écrit :
> On 29 Jun, Rémi Denis-Courmont wrote :
>> Le 2016-06-29 15:56, git at videolan.org a écrit :
>> > vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed
>> > Jun 29 15:44:40 2016 +0200|
>> [73b6ba35c70d93a57ddaec6e3a31164e60db53e2]
>> > | committer: Jean-Baptiste Kempf
>> >
>> > Configure: use static linking if our contribs are used
>> >
>> > Since our contribs are statically linked
>>
>> This breaks very badly when mixing distro and contrib packages.
>> Linux builds
>> are unusable with this patch. Please revert.
>
> Ah good point. I was trying with only contribs.
>
> Any great idea on how to do it?
There simply are _no_ good ways to achieve it. pkg-config assumes that
the shared version of a module library is always provided, while the
static version is optional. When building the static version only, it
just fails.
Use pkg-static.sh.
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list