From df3f8bb35a9c3b8aa3a1d3b2cc16721ce8d46abe Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Fri, 5 Nov 2010 07:11:40 +0100 Subject: [PATCH] mpc: ensure mpfr/gmp are built before mpc Signed-off-by: Peter Korsgaard --- package/mpc/Config.in | 2 +- package/mpc/mpc.mk | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/package/mpc/Config.in b/package/mpc/Config.in index 604551415a..61c96383be 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 561d25abeb..4a65842fbe 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: -- 2.30.2