From 2053a8c74747fcbfb7f4836ee71d6775ac7c4a25 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 22 Oct 2003 22:29:08 +0000 Subject: [PATCH] the dc applet now needs libm -Erik --- miscutils/Makefile.in | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/miscutils/Makefile.in b/miscutils/Makefile.in index 892f7d196..773f55890 100644 --- a/miscutils/Makefile.in +++ b/miscutils/Makefile.in @@ -39,6 +39,13 @@ MISCUTILS-$(CONFIG_WATCHDOG) += watchdog.o libraries-y+=$(MISCUTILS_DIR)$(MISCUTILS_AR) +needlibm-y:= +needlibm-$(CONFIG_DC) := y + +ifeq ($(needlibm-y),y) + LIBRARIES += -lm +endif + $(MISCUTILS_DIR)$(MISCUTILS_AR): $(patsubst %,$(MISCUTILS_DIR)%, $(MISCUTILS-y)) $(AR) -ro $@ $(patsubst %,$(MISCUTILS_DIR)%, $(MISCUTILS-y)) -- 2.25.1