diff options
| author | Eric Andersen <andersen@codepoet.org> | 2003-10-22 22:29:08 +0000 |
|---|---|---|
| committer | Eric Andersen <andersen@codepoet.org> | 2003-10-22 22:29:08 +0000 |
| commit | 2053a8c74747fcbfb7f4836ee71d6775ac7c4a25 (patch) | |
| tree | 149482e23c0ce2a622e45a56e5869e80b4b8361b /miscutils | |
| parent | e78fe2414b14ba67e514384f5c100e1fb867bfb6 (diff) | |
| download | busybox-w32-2053a8c74747fcbfb7f4836ee71d6775ac7c4a25.tar.gz busybox-w32-2053a8c74747fcbfb7f4836ee71d6775ac7c4a25.tar.bz2 busybox-w32-2053a8c74747fcbfb7f4836ee71d6775ac7c4a25.zip | |
the dc applet now needs libm
-Erik
Diffstat (limited to 'miscutils')
| -rw-r--r-- | miscutils/Makefile.in | 7 |
1 files changed, 7 insertions, 0 deletions
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 | |||
| 39 | 39 | ||
| 40 | libraries-y+=$(MISCUTILS_DIR)$(MISCUTILS_AR) | 40 | libraries-y+=$(MISCUTILS_DIR)$(MISCUTILS_AR) |
| 41 | 41 | ||
| 42 | needlibm-y:= | ||
| 43 | needlibm-$(CONFIG_DC) := y | ||
| 44 | |||
| 45 | ifeq ($(needlibm-y),y) | ||
| 46 | LIBRARIES += -lm | ||
| 47 | endif | ||
| 48 | |||
| 42 | $(MISCUTILS_DIR)$(MISCUTILS_AR): $(patsubst %,$(MISCUTILS_DIR)%, $(MISCUTILS-y)) | 49 | $(MISCUTILS_DIR)$(MISCUTILS_AR): $(patsubst %,$(MISCUTILS_DIR)%, $(MISCUTILS-y)) |
| 43 | $(AR) -ro $@ $(patsubst %,$(MISCUTILS_DIR)%, $(MISCUTILS-y)) | 50 | $(AR) -ro $@ $(patsubst %,$(MISCUTILS_DIR)%, $(MISCUTILS-y)) |
| 44 | 51 | ||
