summarylogtreecommitdiffstats
path: root/rinclude.patch
blob: d4a8ac71155a4a606be7ee543e32a8ba9d7e6f58 (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
diff --git a/engine/Makefile b/engine/Makefile
index e7dce5b..7ec569f 100644
--- a/engine/Makefile
+++ b/engine/Makefile
@@ -35,9 +35,9 @@ ifeq ($(os),OSX)
 
 else
 ifeq ($(os),Linux)
-	R_HOME = $(SRCDIR)/../../../lib/R
+	R_HOME = /usr/lib/R
 	LIBS  = -L$(R_HOME)/lib \
-			-L$(SRCDIR)/../../modules/base/R/RInside/lib \
+			-L$(R_HOME)/library/RInside/lib \
 			-lboost_filesystem \
 			-lboost_system \
 			-lpthread \
@@ -65,6 +65,7 @@ INCLUDES += \
 	-I$(SRCDIR)/../../../include \
 	-I$(SRCDIR)/../server/jamovi/common \
 	-I$(R_HOME)/include \
+	-I /usr/include/R \
 	-I$(SRCDIR)/../../modules/base/R/RInside/include \
 	-I$(SRCDIR)/../../modules/base/R/Rcpp/include \
 	-I$(R_HOME)/library/RInside/include \