aboutsummaryrefslogtreecommitdiff
path: root/flow-native/Makefile
diff options
context:
space:
mode:
authorJakob Odersky <jodersky@gmail.com>2014-03-31 19:22:18 +0200
committerJakob Odersky <jodersky@gmail.com>2014-03-31 19:22:18 +0200
commit26b3deaba4e029a6aaea49c6652f7156ec17bbc0 (patch)
tree104136acb38cc29a6a25b6fe902e185fbb280f05 /flow-native/Makefile
parent7d4a8d3b561571e5e09e2b23a3b5298127ac2d2f (diff)
downloadakka-serial-26b3deaba4e029a6aaea49c6652f7156ec17bbc0.tar.gz
akka-serial-26b3deaba4e029a6aaea49c6652f7156ec17bbc0.tar.bz2
akka-serial-26b3deaba4e029a6aaea49c6652f7156ec17bbc0.zip
update makefile
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)