On Wed, Sep 22, 2010 at 12:34:50AM +0200, Tamas TEVESZ wrote: > > and this unconditionally links libbsd to every binary, even those not > needing it...
One easy fix for that is to grab ax_check_linker_flags.m4[1] and add this rule to configure.ac: AX_CHECK_LINKER_FLAGS([-Wl,--as-needed], [LDFLAGS="$LDFLAGS -Wl,--as-needed"], [:] ) [1] http://www.gnu.org/software/autoconf-archive/ax_check_linker_flags.html -- To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.