summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/gmp/gmp.mk2
-rw-r--r--package/mpfr/mpfr.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/gmp/gmp.mk b/package/gmp/gmp.mk
index 18304cd7c..38e30907b 100644
--- a/package/gmp/gmp.mk
+++ b/package/gmp/gmp.mk
@@ -86,7 +86,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}
+ $(STRIP) --strip-unneeded $(STAGING_DIR)/lib/libgmp$(LIBTGTEXT)*
$(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$(LIBTGTEXT) $(TARGET_DIR)/lib/
diff --git a/package/mpfr/mpfr.mk b/package/mpfr/mpfr.mk
index 76b45d3d7..cdb027001 100644
--- a/package/mpfr/mpfr.mk
+++ b/package/mpfr/mpfr.mk
@@ -100,7 +100,7 @@ $(STAGING_DIR)/lib/$(MPFR_BINARY): $(MPFR_TARGET_DIR)/.libs/$(MPFR_BINARY)
infodir=$(STAGING_DIR)/info \
mandir=$(STAGING_DIR)/man \
-C $(MPFR_TARGET_DIR) install;
- $(STRIP) --strip-unneeded $(STAGING_DIR)/lib/libmpfr.{so*,a}
+ $(STRIP) --strip-unneeded $(STAGING_DIR)/lib/libmpfr$(LIBTGTEXT)*
$(TARGET_DIR)/lib/libmpfr.so $(TARGET_DIR)/lib/libmpfr.so.$(MPFR_LIBVERSION) $(TARGET_DIR)/lib/libmpfr.a: $(STAGING_DIR)/lib/$(MPFR_BINARY)
cp -dpf $(STAGING_DIR)/lib/libmpfr$(LIBTGTEXT) $(TARGET_DIR)/lib/