diff --git a/eclib.spec b/eclib.spec index b2a3b3e..e7b9cf2 100644 --- a/eclib.spec +++ b/eclib.spec @@ -36,6 +36,9 @@ Development libraries and headers for %{name}. %prep %setup -q +# Fix the threading test on ARM +sed -i 's/threading_SOURCES.*/&\nthreading_LDADD=-lpthread/' tests/Makefile.am + # autoconf is not run by upstream autoreconf -fi @@ -47,7 +50,6 @@ if [ %{__isa_bits} = "64" ]; then else export CPPFLAGS="-I %{_includedir}/flint" fi -LIBS="-lpthread" \ %configure \ --disable-static \ --enable-shared \