Support for linking with "as-needed"
|Reported by:||SF/jmmdebian||Owned by:||fingolfin|
Dear ScummVm devs,
scuvmm currently can't be built when using the linker feature "--as-needed". Please see http://www.gentoo.org/proj/en/qa/asneeded.xml for a description.
I'm attaching a patch written by Matthias Klose tp fix this. It was reported in the Debian BTS under http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=607182
Please consider merging it for 1.2.2 or 1.3.0.
Ticket imported from: #3149416. Ticket imported from: patches/1381.