pjproject and linking with --as-needed
Tzafrir Cohen
tzafrir at cohens.org.il
Mon Dec 21 06:24:00 UTC 2015
Hi,
I'm stuck with pjproject. In order to remove all sorts of unneeded
dependencies I relised I should link it with --as-needed. This has
indeed worked well after some fixes to the build system.
However, it seems that builds only work well as long as I don't run them
in a chroot. And it doesn't appear to me like an issue of a missing
depenendency.
I pushed the relevant code to branch 'master-broken-2'. A build output
could be found at:
https://people.debian.org/~tzafrir/pjproject/pjproject_2.4.5~dfsg-1_amd64.build
The branch:
http://anonscm.debian.org/cgit/pkg-voip/pjproject.git/log/?h=master-broken-2
(It's messy right now, I know. Will be untangled before a prper push)
Any ideas?
The alternative is to keep a huge set of patches that mess with the
build system to remove linked libraries. Not fun either.
--
Tzafrir Cohen | tzafrir at jabber.org | VIM is
http://tzafrir.org.il | | a Mutt's
tzafrir at cohens.org.il | | best
tzafrir at debian.org | | friend
More information about the Pkg-voip-maintainers
mailing list