75810a5472
- Backport two patches from upstream (turn off debug and use the lapack version that R was compiled with)
14 lines
658 B
Diff
14 lines
658 B
Diff
--- setup.py.orig 2007-11-27 02:06:32.000000000 +0000
|
|
+++ setup.py 2008-02-04 12:12:20.000000000 +0000
|
|
@@ -139,8 +139,8 @@
|
|
extra_compile_args=["-shared"]
|
|
source_files = source_files + ["src/setenv.c"]
|
|
else: # unix-like systems, this is known to work for Linux and Solaris
|
|
- include_dirs = [ os.path.join(RHOME.strip(), 'include'),
|
|
- 'src', '/usr/share/R/include' ]
|
|
+ include_dirs = [ os.path.join(RHOME.strip(), 'include'),
|
|
+ 'src', '/usr/share/R/include', "/usr/include/R"]
|
|
libraries=['R','Rlapack']
|
|
library_dirs = r_libs
|
|
runtime_libs = r_libs
|