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