| Line 8... |
Line 8... |
| 8 |
if test -n "${R_JAVA_LD_LIBRARY_PATH}"; then
|
8 |
if test -n "${R_JAVA_LD_LIBRARY_PATH}"; then
|
| 9 |
R_LD_LIBRARY_PATH="${R_LD_LIBRARY_PATH}:${R_JAVA_LD_LIBRARY_PATH}"
|
9 |
R_LD_LIBRARY_PATH="${R_LD_LIBRARY_PATH}:${R_JAVA_LD_LIBRARY_PATH}"
|
| 10 |
fi
|
10 |
fi
|
| 11 |
## This is DYLD_FALLBACK_LIBRARY_PATH on Darwin (macOS) and
|
11 |
## This is DYLD_FALLBACK_LIBRARY_PATH on Darwin (macOS) and
|
| 12 |
## LD_LIBRARY_PATH elsewhere.
|
12 |
## LD_LIBRARY_PATH elsewhere.
|
| 13 |
## However, on macOS 10.11 (if SIP is enabled, the default), the
|
13 |
## However, on macOS >=10.11 (if SIP is enabled, the default), the
|
| 14 |
## environment value will not be passed to a script such as R.sh, so
|
14 |
## environment value will not be passed to a script such as R.sh, so
|
| 15 |
## would not seen here.
|
15 |
## would not seen here.
|
| 16 |
if test -z "${@Rshlibpath_var@}"; then
|
16 |
if test -z "${@Rshlibpath_var@}"; then
|
| 17 |
@Rshlibpath_var@="${R_LD_LIBRARY_PATH}"
|
17 |
@Rshlibpath_var@="${R_LD_LIBRARY_PATH}"
|
| 18 |
else
|
18 |
else
|