summaryrefslogtreecommitdiff
path: root/dev-python/rpy/files/2.5.0-setup.patch
blob: 2454c313e677153b6b1aed835a84f7352cbc0eb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
https://bitbucket.org/lgautier/rpy2/commits/bf38fa9960aa
# HG changeset patch
# User Laurent Gautier <lgautier@gmail.com>
# Date 1415656651 18000
# Node ID bf38fa9960aacf7ba24a20cfae631aa695fea986
# Parent  9c1212066f5c980a211b21943f62fd69743ca4bd
Should fix issue #234

diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -136,8 +136,6 @@
         return output
 
 def getRinterface_ext():
-    #r_libs = [os.path.join(RHOME, 'lib'), os.path.join(RHOME, 'modules')]
-    r_libs = []
     extra_link_args = []
     extra_compile_args = []
     include_dirs = []
@@ -250,9 +248,9 @@
             include_dirs = [os.path.join(package_prefix,
                                          'rpy', 'rinterface'),] + include_dirs,
             libraries = libraries,
-            library_dirs = r_libs,
+            library_dirs = library_dirs,
             define_macros = define_macros,
-            runtime_library_dirs = r_libs,
+            runtime_library_dirs = library_dirs,
             extra_compile_args=extra_compile_args,
             extra_link_args = extra_link_args
             )
@@ -266,9 +264,9 @@
         include_dirs = include_dirs + 
         [os.path.join('rpy', 'rinterface'), ],
         libraries = libraries,
-        library_dirs = r_libs,
+        library_dirs = library_dirs,
         define_macros = define_macros,
-        runtime_library_dirs = r_libs,
+        runtime_library_dirs = library_dirs,
         extra_compile_args=extra_compile_args,
         extra_link_args = extra_link_args
         )