Merge pull request #215 from videlec/rpath

fix rpath
This commit is contained in:
Fredrik Johansson 2018-03-21 11:04:51 +01:00 committed by GitHub
commit 5849641b1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

1
configure vendored
View file

@ -438,6 +438,7 @@ if [ -z "$ARB_LIB" ]; then
EXTRA_SHARED_FLAGS="-Wl,-soname,libarb.so.$ARB_MAJOR"
ARB_SOLIB=1;;
esac
EXTRA_SHARED_FLAGS="$EXTRA_SHARED_FLAGS -Wl,-rpath,${GMP_LIB_DIR} -Wl,-rpath,${MPFR_LIB_DIR} -Wl,-rpath,${FLINT_LIB_DIR}"
fi
# sometimes LDCONFIG is not to be found in the path. Look at some common places.