[pacman-dev] [PATCH] Add "-Wl,--as-needed" to libalpm LDFLAGS.

Lukas Fleischer archlinux at cryptocrack.de
Sat Mar 19 16:38:25 EDT 2011


On Sat, Mar 19, 2011 at 09:28:34PM +0100, Lukas Fleischer wrote:
> Also includes a Debian patch (from #347650) that makes libtool play
> nicely with "-Wl,--as-needed".
> 
> Signed-off-by: Lukas Fleischer <archlinux at cryptocrack.de>
> ---
>  lib/libalpm/Makefile.am |    2 +-
>  ltmain.sh               |   14 ++++++++++++++
>  2 files changed, 15 insertions(+), 1 deletions(-)

Oh, and in case it turns out there's no proper solution, we might still
consider adding this patch to the PKGBUILD only, so other platforms
won't be affected.


More information about the pacman-dev mailing list