unit-tests: link test-runner against -lpthread
authorMartin Willi <martin@revosec.ch>
Wed, 19 Jun 2013 13:37:49 +0000 (15:37 +0200)
committerMartin Willi <martin@revosec.ch>
Fri, 21 Jun 2013 08:53:23 +0000 (10:53 +0200)
src/libstrongswan/tests/Makefile.am

index 1a2091a..44d797e 100644 (file)
@@ -18,4 +18,5 @@ test_runner_CFLAGS = \
 test_runner_LDFLAGS = @COVERAGE_LDFLAGS@
 test_runner_LDADD = \
   $(top_builddir)/src/libstrongswan/libstrongswan.la \
+  $(PTHREADLIB) \
   @CHECK_LIBS@