summaryrefslogtreecommitdiff
path: root/package/mpc
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-11-05 07:11:40 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2010-11-05 07:11:40 +0100
commitdf3f8bb35a9c3b8aa3a1d3b2cc16721ce8d46abe (patch)
tree1994a66240a5e113a39e432d23d646a39b19130c /package/mpc
parent6d3342e415b3c588ad9e35e7d6da5528600e2c88 (diff)
mpc: ensure mpfr/gmp are built before mpc
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/mpc')
-rw-r--r--package/mpc/Config.in2
-rw-r--r--package/mpc/mpc.mk4
2 files changed, 2 insertions, 4 deletions
diff --git a/package/mpc/Config.in b/package/mpc/Config.in
index 604551415..61c96383b 100644
--- a/package/mpc/Config.in
+++ b/package/mpc/Config.in
@@ -6,7 +6,7 @@ config BR2_PACKAGE_LIBMPC
Mpc is a C library for the arithmetic of complex numbers with
arbitrarily high precision and correct rounding of the result.
It is built upon and follows the same principles as Mpfr.
-
+
http://www.multiprecision.org/
diff --git a/package/mpc/mpc.mk b/package/mpc/mpc.mk
index 561d25abe..4a65842fb 100644
--- a/package/mpc/mpc.mk
+++ b/package/mpc/mpc.mk
@@ -1,5 +1,3 @@
-#libmpc: libgmp libmpfr $(TARGET_DIR)/usr/lib/libmpc$(LIBTGTEXT)
-
#############################################################
#
# mpc
@@ -60,7 +58,7 @@ ifeq ($(BR2_PACKAGE_LIBMPC_HEADERS),y)
cp -dpf $(STAGING_DIR)/usr/include/mpc.h $(TARGET_DIR)/usr/include/
endif
-libmpc: $(TARGET_DIR)/usr/lib/libmpc$(LIBTGTEXT)
+libmpc: libgmp libmpfr $(TARGET_DIR)/usr/lib/libmpc$(LIBTGTEXT)
stage-libmpc: $(STAGING_DIR)/usr/lib/$(MPC_BINARY)
libmpc-clean: