the dc applet now needs libm

-Erik
1_00_stable_10817
Eric Andersen 2003-10-22 22:29:08 +00:00
parent e78fe2414b
commit 2053a8c747
1 changed files with 7 additions and 0 deletions

View File

@ -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))