Skip to content
This repository was archived by the owner on Sep 29, 2022. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions r-base/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@ Linux() {
# 1. Why bother with java.rc? Presumably R uses it until `R CMD javareconf`?
# 2. Why bother with readlink, that seems to make this inflexible.
# 3. It definitely doesn't work for ArchLinux which has no /usr/lib/jvm/java
#JVMFOLDER=$(readlink -f /usr/lib/jvm/java)
JVMFOLDER=/usr/lib/jvm/java
# Totally agree ^, but the way it currently is it breaks the build for rJava.
# R does not run `R CMD javareconf` by default and it might also need `R CMD javareconf -e` in fact.
JVMFOLDER=$(readlink -f /usr/lib/jvm/java)
# JVMFOLDER=/usr/lib/jvm/java
# This is needed to force pkg-config to *also* search for system libraries.
# We cannot use cairo without this since it depends on a good few X11 things.
export PKG_CONFIG_PATH=/usr/lib/pkgconfig
Expand Down