Bläddra i källkod

mpc: ensure mpfr/gmp are built before mpc

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard 14 år sedan
förälder
incheckning
df3f8bb35a
2 ändrade filer med 2 tillägg och 4 borttagningar
  1. 1 1
      package/mpc/Config.in
  2. 1 3
      package/mpc/mpc.mk

+ 1 - 1
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/
 
 

+ 1 - 3
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: