summaryrefslogtreecommitdiff
path: root/package/gmp
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-01-24 15:56:11 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-01-24 15:56:11 +0000
commit6789698237a07799114e0b6925db1b7bb6de854c (patch)
tree748cbcc859015508771aff0248a05a2e4cdb0a35 /package/gmp
parent5692bad87675575bc51f6f8d48ad60f7bb849dd7 (diff)
- fix prerequisites of binutils_target
Diffstat (limited to 'package/gmp')
-rw-r--r--package/gmp/gmp.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/gmp/gmp.mk b/package/gmp/gmp.mk
index baf83db3a..3894b3015 100644
--- a/package/gmp/gmp.mk
+++ b/package/gmp/gmp.mk
@@ -75,6 +75,7 @@ $(STAGING_DIR)/lib/$(GMP_BINARY): $(GMP_TARGET_DIR)/.libs/$(GMP_BINARY)
infodir=$(STAGING_DIR)/info \
mandir=$(STAGING_DIR)/man \
-C $(GMP_TARGET_DIR) install
+ $(STRIP) --strip-unneeded $(STAGING_DIR)/lib/libgmp.{so*,a}
$(TARGET_DIR)/lib/libgmp.so $(TARGET_DIR)/lib/libgmp.so.$(GMP_LIBVERSION) $(TARGET_DIR)/lib/libgmp.a: $(STAGING_DIR)/lib/$(GMP_BINARY)
cp -dpf $(STAGING_DIR)/lib/libgmp.so* $(STAGING_DIR)/lib/libgmp.a \
@@ -83,8 +84,6 @@ ifeq ($(BR2_PACKAGE_LIBGMP_HEADERS),y)
test -d $(TARGET_DIR)/usr/include || mkdir -p $(TARGET_DIR)/usr/include
cp -dpf $(STAGING_DIR)/include/gmp.h $(TARGET_DIR)/usr/include/
endif
- $(STRIP) --strip-unneeded $(TARGET_DIR)/lib/libgmp.so* \
- $(TARGET_DIR)/lib/libgmp.a
libgmp: uclibc $(TARGET_DIR)/lib/libgmp.so.$(GMP_LIBVERSION)
stage-libgmp: uclibc $(STAGING_DIR)/lib/$(GMP_BINARY)