Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
R-3.6.1 build: fix interoperation w. rstudio
Rstudio sets an own environment for its bin/rsession. Unfortunately it sets the LD_LIBRARY_PATH only for 'the detected R binary-rootdir'/lib/R/lib. Since the geospatial goodies required by 'sf' are installed under pkg/Rxyz/lib the rpath set in the sf module isn't sufficient. The patchelf addition fixes this. In the next build it could also be done with compile time flags. Doing it this way keeps the option to run rstudio with other R versions (e.g. source /pkg/R-3.5/profile; rstudio).
- Loading branch information