[Debian-med-packaging] Bug#653365: missing DCMTK support when built with ld --as-needed

Julian Taylor jtaylor at ubuntu.com
Tue Dec 27 14:22:35 UTC 2011


Package: amide
Version: 1.0.0-1
Severity: wishlist
Tags: patch
User: debian-gcc at lists.debian.org
Usertags: ld-as-needed

when building amide with the linker flag --as-needed it is missing DCMTK
support.

This is caused by the use of LDFLAGS to define libraries to link with in
configure.in.
The correct autotools variable is LIBS or LDADD.
Attached patch "DCMTK_support.patch" fixes the issue.

PS: To build amide with dcmtk under as-needed also the underlinking of
dcmtk must be fixed or -lpthread -lz must be added to LIBS of amide.
see the second patch "missing-links.patch". It is not necessary when
dcmtk is fixed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DCMTK_support.patch
Type: text/x-patch
Size: 1486 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20111227/bae5a274/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: missing-links.patch
Type: text/x-patch
Size: 1096 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20111227/bae5a274/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20111227/bae5a274/attachment.pgp>


More information about the Debian-med-packaging mailing list