summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-02-09 13:01:32 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-02-09 13:01:32 +0000
commit42f985687dcddbaa2277a3ffb8a88b190bde76e7 (patch)
tree4e655fef5352e17b42f4cdc849bdbc7cbf826f80 /package
parent0833b949f60fc75fe779d89fd5f77e8395cbe5d1 (diff)
downloadbuildroot-novena-42f985687dcddbaa2277a3ffb8a88b190bde76e7.tar.gz
buildroot-novena-42f985687dcddbaa2277a3ffb8a88b190bde76e7.zip
gmp/mpfr: force static linking
Patch by Maxim Grigoriev. GCC 4.3.x would link with the correct shared library versions, but without any RPATH, so it ended up looking for then in /usr/lib/ at runtime. This is less than good, as the version there might not be compatible, and even worse for distributions like Ubuntu, which doesn't install those libs by default, the build breaks. Fix it by forcing static linking instead.
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 111f6068c..00a92ef12 100644
--- a/package/gmp/gmp.mk
+++ b/package/gmp/gmp.mk
@@ -83,7 +83,7 @@ $(GMP_DIR2)/.configured: $(GMP_DIR)/.unpacked
--prefix="$(GMP_HOST_DIR)" \
--build=$(GNU_HOST_NAME) \
--host=$(GNU_HOST_NAME) \
- --enable-shared \
+ --disable-shared \
--enable-static \
$(DISABLE_NLS) \
)
diff --git a/package/mpfr/mpfr.mk b/package/mpfr/mpfr.mk
index 1299ee148..51b9fb5ec 100644
--- a/package/mpfr/mpfr.mk
+++ b/package/mpfr/mpfr.mk
@@ -96,7 +96,7 @@ $(MPFR_DIR2)/.configured: $(MPFR_DIR)/.unpacked $(GMP_HOST_DIR)/lib/$(GMP_HOST_B
--prefix="$(MPFR_HOST_DIR)" \
--build=$(GNU_HOST_NAME) \
--host=$(GNU_HOST_NAME) \
- --enable-shared \
+ --disable-shared \
--enable-static \
--with-gmp=$(GMP_HOST_DIR) \
$(DISABLE_NLS) \