mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-17 23:44:35 +00:00
Make libabigail link with pthread
Since libabigail now uses pthreads via the abigail::workers namespace, the libabigail shared library should link with pthreads. Many to Michi Henning for raising this. * src/Makefile.am: Add -pthread to libabigail_la_LDFLAGS. * tools/Makefile.am: Do not use abinilint_LDFLAGS when it should be abinilint_LDADD. This one was fixed by Michi Henning. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
parent
f48c0ef201
commit
12d56c861b
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user