[mythtv-users] 0.28 compilation issue
Udo van den Heuvel
udovdh at xs4all.nl
Sun Mar 4 06:32:23 UTC 2018
On 03-08-17 05:42, Udo van den Heuvel wrote:
> On 02-08-17 18:37, Udo van den Heuvel wrote:
>> + echo 'INCLUDEPATH -= $${PREFIX}/include'
>> + echo 'INCLUDEPATH -= $${SYSROOT}/$${PREFIX}/include'
>> + echo 'INCLUDEPATH -= /usr/include'
>> + echo 'INCLUDEPATH += /root/rpmbuild/BUILD/mythtv-0.28.1/temp/usr/include'
>> + echo 'INCLUDEPATH += /usr/include'
>> + echo 'LIBS *= -L/root/rpmbuild/BUILD/mythtv-0.28.1/temp/usr/lib64'
>> + echo 'QMAKE_LIBDIR += /root/rpmbuild/BUILD/mythtv-0.28.1/temp/usr/lib64'
>
> Here a few ilines are added to a qmaoe .pro file constructing an
> INCLUDEPATH..
> In the resulting lines during the compile we can see that Qmake treats
> /usr/include differently from
> /root/rpmbuild/BUILD/mythtv-0.28.1/temp/usr/include w.r.t -isystem and -I.
> How can we influence this behaviour?
Commenting out
https://github.com/MythTV/packaging/blob/master/rpm/mythtv.spec#L1004
https://github.com/MythTV/packaging/blob/master/rpm/mythtv.spec#L1005
and
https://github.com/MythTV/packaging/blob/master/rpm/mythtv.spec#L1008
made the compile work again.
Udo
More information about the mythtv-users
mailing list