[vlc-devel] [PATCH 1/1] contribs: qt: prevent Qt from creating libtool files
Steve Lhomme
robux4 at ycbcr.xyz
Fri Sep 13 09:04:54 CEST 2019
On 2019-09-12 19:48, Alexandre Janniaux wrote:
> Hi,
>
> Small ping for the patch. Is there any other feedback from other platform using
> Qt contribs ?
Works for me. libQt5Bootstrap.la is not installed anymore.
> Regards,
> --
> Alexandre Janniaux
> Videolabs
>
> On Sun, Jul 28, 2019 at 02:59:20PM +0200, Alexandre Janniaux wrote:
>> These files are generated but never used by Qt. They prevent libtool in
>> VLC from using pkg-config files, which would lead to misconfiguration issues,
>> especially in cross-compilation build.
>>
>> The create_libtool config option is currently only set for unix builds, but
>> setting -create_libtool in the .prf file will prevent every other qt contribs to
>> generate libtool files too.
>> ---
>> contrib/src/qt/rules.mak | 2 ++
>> 1 file changed, 2 insertions(+)
>>
>> diff --git a/contrib/src/qt/rules.mak b/contrib/src/qt/rules.mak
>> index 03327edc19..69ff7600af 100644
>> --- a/contrib/src/qt/rules.mak
>> +++ b/contrib/src/qt/rules.mak
>> @@ -101,6 +101,8 @@ endif
>> ENV_VARS := $(HOSTVARS) DXSDK_DIR=$(PREFIX)/bin
>>
>> .qt: qt
>> + # Prevent all Qt contribs from generating and installing libtool .la files
>> + cd $< && sed -i "/CONFIG/ s/ create_libtool/ -create_libtool/g" mkspecs/features/qt_module.prf
>> cd $< && $(ENV_VARS) ./configure $(QT_PLATFORM) $(QT_CONFIG) -prefix $(PREFIX) -I $(PREFIX)/include
>> # Make && Install libraries
>> cd $< && $(ENV_VARS) $(MAKE)
>> --
>> 2.22.0
>>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
>
More information about the vlc-devel
mailing list