summarylogtreecommitdiffstats
path: root/rinclude.patch
diff options
context:
space:
mode:
Diffstat (limited to 'rinclude.patch')
-rw-r--r--rinclude.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/rinclude.patch b/rinclude.patch
new file mode 100644
index 000000000000..e64bbc709957
--- /dev/null
+++ b/rinclude.patch
@@ -0,0 +1,28 @@
+diff --git a/engine/Makefile b/engine/Makefile
+index da42f79..83fd006 100644
+--- a/engine/Makefile
++++ b/engine/Makefile
+@@ -36,7 +36,7 @@ else
+ ifeq ($(os),Linux)
+ R_HOME = /usr/lib/R
+ INCLUDES += -I/usr/share/R/include
+- LIBS = -L$(R_HOME)/library/RInside/lib -L$(R_HOME)/site-library/RInside/lib \
++ LIBS = -L$(R_HOME)/library/RInside/lib -L$(R_HOME)/site-library/RInside/lib -L$(R_HOME)/lib \
+ -lboost_filesystem \
+ -lboost_system \
+ -lpthread \
+@@ -53,12 +53,13 @@ endif
+ endif
+
+ INCLUDES += \
++ -I/usr/include/R \
+ -I$(SRCDIR)/../../include \
+ -I$(SRCDIR)/../../../include \
+ -I$(SRCDIR)/../server/jamovi/common \
+ -I$(R_HOME)/include \
+ -I$(R_HOME)/library/RInside/include -I$(R_HOME)/site-library/RInside/include \
+- -I$(R_HOME)/library/Rcpp/include -I$(R_HOME)/site-library/Rcpp/include
++ -I$(R_HOME)/library/Rcpp/include -I$(R_HOME)/site-library/Rcpp/include
+
+ LIBS += -lR -lnanomsg -lprotobuf -lRInside
+