summaryrefslogtreecommitdiffstats
path: root/package/gmp/gmp.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/gmp/gmp.mk')
-rw-r--r--package/gmp/gmp.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/gmp/gmp.mk b/package/gmp/gmp.mk
index 38e30907b..ac1e96a67 100644
--- a/package/gmp/gmp.mk
+++ b/package/gmp/gmp.mk
@@ -10,7 +10,7 @@ GMP_CAT:=$(BZCAT)
GMP_DIR:=$(TOOL_BUILD_DIR)/gmp-$(GMP_VERSION)
GMP_TARGET_DIR:=$(BUILD_DIR)/gmp-$(GMP_VERSION)
GMP_BINARY:=libgmp$(LIBTGTEXT)
-GMP_HOST_BINARY:=libgmp$(HOST_LIBEXT)
+GMP_HOST_BINARY:=libgmp$(HOST_SHREXT)
GMP_LIBVERSION:=3.4.1
ifeq ($(BR2_ENDIAN),"BIG")
@@ -123,7 +123,7 @@ $(GMP_DIR2)/.configured: $(GMP_DIR)/.unpacked
);
touch $@
-$(GMP_HOST_DIR)/lib/$(GMP_HOST_BINARY): $(GMP_DIR2)/.configured
+$(GMP_HOST_DIR)/lib/libgmp$(HOST_LIBEXT)/lib/libgmp$(HOST_SHREXT): $(GMP_DIR2)/.configured
$(MAKE) -C $(GMP_DIR2) install
host-libgmp: $(GMP_HOST_DIR)/lib/$(GMP_HOST_BINARY)