[mythtv] --as-needed fix from Nigel
nigel at ind.tansu.com.au
Sat Jan 19 11:24:38 UTC 2008
> Nigel, commit 15478 not fixes build with --as-needed linker flag.
OK. I spent about 5 hours getting it to
work for _me_, on 0.20-fixes, and SVN,
but I fully accept that it might not
fix everyone's build environments.
My env. was a hack that added --as-needed to
program link commands only (not lib generation).
1) I was mainly resolving ticket 2402,
which is for 0-20-fixes. The changes
to SVN also let me build that cleanly
using the same build env.
2) If you provide detailed build logs,
after purging all libmyth*,
I will try to work out why it is
still failing for you.
may also help.
> For fix this problem, you need remove circular depends from libmyth /
> libmythui and same for libmythupnp.
Yes, and you can achieve that by applying the last patch in
but this will probably not be applied to SVN before 0.21.
Not willing to risk it with the scarcity of testing.
Nigel Pearson, nigel at ind.tansu.com.au|"Now the world has gone to bed.
Telstra Net. Eng., Sydney, Australia | Darkness won't engulf my head.
Office: 9202 3900 Fax: 9261 3912 | I can see by infrared.
Mobile: 0408 664435 Home: 9792 6998 | How I hate the night." -Marvin
More information about the mythtv-dev