diff --git a/tests/Makefile.am b/tests/Makefile.am index fbc59e0c5b..6b98f18873 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -519,7 +519,7 @@ libshunload_la_LDFLAGS = -module -avoid-version -rpath /evil/libtool/hack/to/for shunloadtest_SOURCES = \ shunloadtest.c -shunloadtest_LDADD = -lpthread +shunloadtest_LDADD = $(LIB_PTHREAD) shunloadtest_DEPENDENCIES = libshunload.la if WITH_CIL