Skip to content
Snippets Groups Projects
Commit b13b5e22 authored by Stefan Anzinger's avatar Stefan Anzinger
Browse files

Translate name from 'sunos' to 'solaris' as $JAVA_HOME/include/solaris has to...

Translate name from 'sunos' to 'solaris' as $JAVA_HOME/include/solaris has to be used rather than $JAVA_HOME/include/sunos
parent 8cabe1eb
No related branches found
No related tags found
No related merge requests found
......@@ -38,8 +38,13 @@ C_LIBNAME := librfficall$(DYLIB_EXT)
C_OBJECTS := $(subst $(SRC),$(OBJ),$(C_SOURCES:.c=.o))
C_LIB := $(TOPDIR)/builtinlibs/$(OBJ)/$(C_LIBNAME)
CFLAGS := $(CFLAGS) -DFASTR
ifeq ($(OS_DIR),sunos)
OS_INCLUDE := solaris
else
OS_INCLUDE := $(OS_DIR)
endif
JNI_INCLUDES = -I $(JAVA_HOME)/include -I $(JAVA_HOME)/include/$(OS_DIR)
JNI_INCLUDES = -I $(JAVA_HOME)/include -I $(JAVA_HOME)/include/$(OS_INCLUDE)
FFI_INCLUDES = -I$(TOPDIR)/include/jni/include -I$(TOPDIR)/include/jni/include/R_ext
INCLUDES := $(JNI_INCLUDES) $(FFI_INCLUDES)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment