Bug#620629: mathgl: please wipe out dependency_libs from .la files (Policy 10.2)

Steve Langasek steve.langasek at canonical.com
Sun Apr 3 07:54:39 UTC 2011


Package: mathgl
Version: 1.10.2.1-2
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu natty ubuntu-patch

Hi folks,

The attached patch has just been applied to the Ubuntu mathgl package, to
null out the dependency_libs field in the libtool .la file being shipped in
the -dev package.  This is generally a good idea because it avoids causing
consumers of your library to require other .la files listed here to be
available at build time when they're not actually needed (i.e., in the
dynamic linking common case).  It's specifically a good idea right now
because multiarch is imminent, and that means the .la files referenced here
are going to *move* soon, causing build failures for anything using libtool
to build against mathgl.  As long as mathgl is going to need a rebuild to
fix up the invalid .la references, it would be nice to get rid of them
altogether.

Thanks,
--
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tmp_SqVyp
Type: text/x-diff
Size: 484 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20110403/545e3709/attachment.diff>


More information about the debian-science-maintainers mailing list