aboutsummaryrefslogtreecommitdiff
path: root/flow-native/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'flow-native/Makefile')
-rw-r--r--flow-native/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/flow-native/Makefile b/flow-native/Makefile
index 0a64190..29080a3 100644
--- a/flow-native/Makefile
+++ b/flow-native/Makefile
@@ -14,8 +14,9 @@ SONAME=$(LIB).$(MAJOR)
# Actual file name of library
TARGET=$(SONAME).$(MINOR).$(MICRO)
-# Linux-specific linker flags
+# Linux-specific flags
LDFLAGS+=-shared -Wl,-soname,$(SONAME)
+INCLUDES+=$(JAVA_HOME)/include/ $(JAVA_HOME)/include/linux/
# All final products that should be installed
PRODUCTS=$(TARGET) $(SONAME) $(LIB)