Makefile tweak for -lm?

Mike Frysinger vapier at gentoo.org
Fri Dec 9 01:32:06 UTC 2005


On Fri, Dec 09, 2005 at 01:42:52AM +0100, Bernhard Fischer wrote:
> I will ci the attached patch tomorrow unless somebody objects.

why dont you use the simpler form i suggested

Rules.mak:
LIBRARIES   :=
need-libm-y :=
<include subfiles>
LIBRARIES   += $(need-libm-y)

coreutils/Makefile.in / miscutils/Makefile.in / etc...
need-libm-$(APPLET) := -lm
-mike



More information about the busybox mailing list