mirror of
https://github.com/sheumann/hush.git
synced 2024-08-20 19:29:02 +00:00
the dc applet now needs libm
-Erik
This commit is contained in:
parent
e78fe2414b
commit
2053a8c747
@ -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))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user