Fix for R_LIB
@@ -80,7 +80,8 @@ export TURBINE_USE_R=@USE_R@
if [[ ${TURBINE_USE_R} != 0 ]]
then
- export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:-}${LD_LIBRARY_PATH:+:}${TURBINE_USE_R}
+ R_LIB=${TURBINE_USE_R}/lib
+ export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:-}${LD_LIBRARY_PATH:+:}${R_LIB}
fi
return 0
