summaryrefslogtreecommitdiffstats
path: root/vpp-japi
diff options
context:
space:
mode:
authorRobert Varga <nite@hq.sk>2016-01-30 18:37:58 +0100
committerRobert Varga <nite@hq.sk>2016-01-30 18:40:09 +0100
commit3142430cea57f810d136bb3249ededb2a4f2f18b (patch)
treea9ad8182a32d6ab1e5e77323691baa38f2c16869 /vpp-japi
parentfc659e711520630d7f1f1ece3d72ffb398d5cef6 (diff)
Add JAVA_HOME includes to vppjni build
Failing to add these means that we rely on system headers, not the ones provided in JAVA_HOME. Change-Id: I612bd716590efbabec26e0ba83eb98f8e90b3255 Signed-off-by: Robert Varga <nite@hq.sk>
Diffstat (limited to 'vpp-japi')
-rw-r--r--vpp-japi/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/vpp-japi/Makefile.am b/vpp-japi/Makefile.am
index a9fe355acc5..5640dd1aeff 100644
--- a/vpp-japi/Makefile.am
+++ b/vpp-japi/Makefile.am
@@ -31,6 +31,7 @@ libvppjni_la_SOURCES = japi/vppjni.c japi/vppapi.c
libvppjni_la_LIBADD = -lvlibmemoryclient -lvlibapi -lsvm -lvppinfra \
-lpthread -lm -lrt
libvppjni_la_LDFLAGS = -module
+libvppjni_la_CPPFLAGS = -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux
jarfile = vppjapi-$(PACKAGE_VERSION).jar
packagedir = org/openvpp/vppjapi