[BusyBox-cvs] busybox/miscutils Makefile.in,1.9,1.10
Erik Andersen
andersen at busybox.net
Wed Oct 22 22:29:12 UTC 2003
Update of /var/cvs/busybox/miscutils
In directory winder:/tmp/cvs-serv24362/miscutils
Modified Files:
Makefile.in
Log Message:
the dc applet now needs libm
-Erik
Index: Makefile.in
===================================================================
RCS file: /var/cvs/busybox/miscutils/Makefile.in,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- Makefile.in 9 Oct 2003 11:46:23 -0000 1.9
+++ Makefile.in 22 Oct 2003 22:29:08 -0000 1.10
@@ -39,6 +39,13 @@
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))
More information about the busybox-cvs
mailing list