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>
This commit is contained in:
@ -31,6 +31,7 @@ libvppjni_la_SOURCES = japi/vppjni.c japi/vppapi.c
|
|||||||
libvppjni_la_LIBADD = -lvlibmemoryclient -lvlibapi -lsvm -lvppinfra \
|
libvppjni_la_LIBADD = -lvlibmemoryclient -lvlibapi -lsvm -lvppinfra \
|
||||||
-lpthread -lm -lrt
|
-lpthread -lm -lrt
|
||||||
libvppjni_la_LDFLAGS = -module
|
libvppjni_la_LDFLAGS = -module
|
||||||
|
libvppjni_la_CPPFLAGS = -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux
|
||||||
|
|
||||||
jarfile = vppjapi-$(PACKAGE_VERSION).jar
|
jarfile = vppjapi-$(PACKAGE_VERSION).jar
|
||||||
packagedir = org/openvpp/vppjapi
|
packagedir = org/openvpp/vppjapi
|
||||||
|
Reference in New Issue
Block a user