[mythtv] --as-needed fix from Nigel
rider at altlinux.com
Fri Feb 1 11:33:13 UTC 2008
Nigel Pearson пишет:
> On 26/01/2008, at 10:20 AM, Anton Farygin wrote:
>> small hack in rpm specfile allow build mythtv for me:
>> subst "s,^\#LIBS,LIBS,m" libs/libmythui/libmythui.pro
>> rm -f libs/libmythui/libmythui*.so* libs/libmythupnp/libmythupnp*.so*
>> %make_build QMAKE=%_bindir/qmake-qt3
> Yes, but that was from a partial build, yes?
Yes, mythtv need two steps for build, first step - build all, but two
libraries has unresolved symbols, next step - relink libmythui and
libmythupnp with uncommented LIBS line.
> If you attempt a clean build with that modification,
> libmythupnp and libmythui will not build, because
> the lib in the commented line doesn't exist.
More information about the mythtv-dev