From b6b4d3ac9ccb6cfa21996d5f106ae128b4e95488 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Fri, 10 Aug 2012 20:09:50 +0200 Subject: [PATCH] mpfr: changed to pass LDFLAGS through configprefix for hardcoding gmp library path at toolchain stage --- base/mpfr/mpfr.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/base/mpfr/mpfr.conf b/base/mpfr/mpfr.conf index 9e4575217..430bdcbfc 100644 --- a/base/mpfr/mpfr.conf +++ b/base/mpfr/mpfr.conf @@ -25,4 +25,5 @@ var_append patchfiles ' ' "$(match_source_file -p '.*\.patch')" if atstage toolchain; then var_append extraconfopt ' ' "--with-gmp-include=$( pkgprefix -r includedir gmp )" var_append extraconfopt ' ' "--with-gmp-lib=$( pkgprefix -r libdir gmp )" + var_append configprefix ' ' LDFLAGS="-Wl,-rpath,$( pkgprefix -r libdir gmp )" fi