浏览代码

mpc: ensure mpfr/gmp are built before mpc

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard 14 年之前
父节点
当前提交
df3f8bb35a
共有 2 个文件被更改,包括 2 次插入4 次删除
  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
 	  Mpc is a C library for the arithmetic of complex numbers with
 	  arbitrarily high precision and correct rounding of the result.
 	  arbitrarily high precision and correct rounding of the result.
 	  It is built upon and follows the same principles as Mpfr.
 	  It is built upon and follows the same principles as Mpfr.
-	  
+
 	  http://www.multiprecision.org/
 	  http://www.multiprecision.org/
 
 
 
 

+ 1 - 3
package/mpc/mpc.mk

@@ -1,5 +1,3 @@
-#libmpc: libgmp libmpfr $(TARGET_DIR)/usr/lib/libmpc$(LIBTGTEXT)
-
 #############################################################
 #############################################################
 #
 #
 # mpc
 # mpc
@@ -60,7 +58,7 @@ ifeq ($(BR2_PACKAGE_LIBMPC_HEADERS),y)
 	cp -dpf $(STAGING_DIR)/usr/include/mpc.h $(TARGET_DIR)/usr/include/
 	cp -dpf $(STAGING_DIR)/usr/include/mpc.h $(TARGET_DIR)/usr/include/
 endif
 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)
 stage-libmpc: $(STAGING_DIR)/usr/lib/$(MPC_BINARY)
 
 
 libmpc-clean:
 libmpc-clean: