ffmpeg multiple build flavors
Loïc Minier
lool at dooz.org
Thu Jun 19 16:47:06 UTC 2008
On Thu, Jun 19, 2008, Reinhard Tartler wrote:
> > The remaining question - thus my initial question in the beginning of
> > the mail - is, where exactly to put the optimized libraries?
> This is highly architecture dependant. You already answered for powerpc,
> for sparc it is in /usr/lib/v9. For other architectures I don't have an
> answer yet.
I don't think we have infrastructure in place for this. We would need
a dynamic linker which would be looking at a mmx specific place before
/usr/lib.
What we have currently is a dyn linker looking at a GNU triplet
specific place before /usr/lib (e.g. /usr/lib/x86_64,
/usr/lib/x86_64-pc-linux-gnu). There's also special casing for tls.
What we could do is use the same pathnames in e.g. libavcodecN and
libavcodecN-mmx and then use something like:
libavcodecN (>= x.y) | livavcodecN-mmx (>= x.y)
in shlibs. Not sure whether this flies with symbols though.
--
Loïc Minier
More information about the pkg-multimedia-maintainers
mailing list