View | Details | Raw Unified | Return to bug 237736
Collapse All | Expand All

(-)py-rpy2/files/patch-rpy_situation.py (+11 lines)
Line 0 Link Here
1
--- rpy/situation.py.orig	2019-02-23 20:09:30 UTC
2
+++ rpy/situation.py
3
@@ -63,7 +63,7 @@ def r_home_from_registry():
4
 
5
 def get_rlib_path(r_home: str, system: str) -> str:
6
     """Get the path for the R shared library."""
7
-    if system == 'Linux':
8
+    if system == 'Linux' or system == 'FreeBSD':
9
         lib_path = os.path.join(r_home, 'lib', 'libR.so')
10
     elif system == 'Darwin':
11
         lib_path = os.path.join(r_home, 'lib', 'libR.dylib')

Return to bug 237736