mpc: ensure mpfr/gmp are built before mpc
authorPeter Korsgaard <jacmet@sunsite.dk>
Fri, 5 Nov 2010 06:11:40 +0000 (07:11 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 5 Nov 2010 06:11:40 +0000 (07:11 +0100)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/mpc/Config.in
package/mpc/mpc.mk

index 604551415aabbced4a0bab114be5c006ea921aa1..61c96383be589de751df766428e7c23fb1cc1482 100644 (file)
@@ -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/
 
 
index 561d25abeb4f22c474e24925b6d7b6ab66be38e5..4a65842fbe2b32a6991bd53df6189aeee515e6ba 100644 (file)
@@ -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: