summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 749b03b)
raw | patch | inline | side by side (parent: 749b03b)
author | Ruben Kerkhof <ruben@tilaa.com> | |
Fri, 11 Dec 2015 22:43:18 +0000 (23:43 +0100) | ||
committer | Ruben Kerkhof <ruben@tilaa.com> | |
Fri, 11 Dec 2015 22:43:18 +0000 (23:43 +0100) |
configure.ac | patch | blob | history | |
src/Makefile.am | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index e86ae51712b2c41176d165672a5a8148f5b0c1a7..ce091acaea10912366d61752c8c681f40cb53389 100644 (file)
--- a/configure.ac
+++ b/configure.ac
AC_CHECK_LIB(jvm, JNI_CreateJavaVM,
[with_java="yes"],
[with_java="no (Symbol 'JNI_CreateJavaVM' not found)"],
- [$JAVA_LIBS])
+ [$JAVA_LIBS $PTHREAD_LIBS])
fi
if test "x$with_java" = "xyes"
then
diff --git a/src/Makefile.am b/src/Makefile.am
index ff3eef495cc556d6a13c30aea98900e77c0f9280..b4f15ffb02cccecf64a4dfa480099ee142b14153 100644 (file)
--- a/src/Makefile.am
+++ b/src/Makefile.am
java_la_CPPFLAGS = $(AM_CPPFLAGS) $(JAVA_CPPFLAGS)
java_la_CFLAGS = $(AM_CFLAGS) $(JAVA_CFLAGS)
java_la_LDFLAGS = $(PLUGIN_LDFLAGS) $(JAVA_LDFLAGS)
-java_la_LIBADD = $(JAVA_LIBS)
+java_la_LIBADD = $(PTHREAD_LIBS) $(JAVA_LIBS)
endif
if BUILD_PLUGIN_LOAD