Code

java plugin: stop linking with libpthread
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 3 Jun 2016 15:49:24 +0000 (17:49 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 3 Jun 2016 15:49:24 +0000 (17:49 +0200)
The collectd daemon already links with it.

src/Makefile.am

index 1a666795bf3f2708c31ec5c44f122ef95cc0bda7..321abff46031f165fda563d4e2980ed15fdd965f 100644 (file)
@@ -477,7 +477,7 @@ java_la_SOURCES = java.c
 java_la_CPPFLAGS = $(AM_CPPFLAGS) $(JAVA_CPPFLAGS)
 java_la_CFLAGS = $(AM_CFLAGS) $(JAVA_CFLAGS)
 java_la_LDFLAGS = $(PLUGIN_LDFLAGS) $(JAVA_LDFLAGS)
-java_la_LIBADD = $(PTHREAD_LIBS) $(JAVA_LIBS)
+java_la_LIBADD = $(JAVA_LIBS)
 endif
 
 if BUILD_PLUGIN_LOAD