From: Peter Korsgaard Date: Fri, 5 Nov 2010 06:11:40 +0000 (+0100) Subject: mpc: ensure mpfr/gmp are built before mpc X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=df3f8bb35a9c3b8aa3a1d3b2cc16721ce8d46abe;p=buildroot.git mpc: ensure mpfr/gmp are built before mpc Signed-off-by: Peter Korsgaard --- 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: