diff --git a/src/Makefile.am b/src/Makefile.am index 22c30596..a7ee183b 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -30,7 +30,6 @@ abg-tools-utils.cc \ $(CXX11_SOURCES) libabigail_la_LIBADD = $(DEPS_LIBS) -libabigail_la_LDFLAGS = -Wl,--as-needed -no-undefined +libabigail_la_LDFLAGS = -pthread -Wl,--as-needed -no-undefined AM_CPPFLAGS=$(DEPS_CPPFLAGS) -Wall -I$(abs_top_srcdir)/include -I$(abs_top_builddir)/include -I$(abs_top_builddir) - diff --git a/tools/Makefile.am b/tools/Makefile.am index 61258428..b855f413 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -32,7 +32,7 @@ abisym_LDADD = ../src/libabigail.la abinilint_SOURCES = binilint.cc abinilintdir = $(bindir) -abinilint_LDFLAGS = $(abs_top_builddir)/src/libabigail.la +abinilint_LDADD = $(abs_top_builddir)/src/libabigail.la abicompat_SOURCES = abicompat.cc abicompatdir = $(bindir)