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