Makefile tweak for -lm?

Mike Frysinger vapier at gentoo.org
Fri Dec 2 13:01:22 UTC 2005


On Thu, Dec 01, 2005 at 03:32:13PM -0600, Rob Landley wrote:
> I came up with the following makefile patch via cut and paste.  Would someone 
> who knows makefiles tell me what I _should_ have done?

this should work:
needlibm-y :=
needlibm-$(CONFIG_FEATURE_SORT_BIG) := -lm
LIBRARIES += $(needlibm-y)
-mike



More information about the busybox mailing list