Package: htscodecs / 1.6.1-1

link_with_libm Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
From: Michael R. Crusoe <[email protected]>
Subject: Make sure the library itself, not the tests, link against libm
--- a/tests/Makefile.am
    b/tests/Makefile.am
@@ -33,7  33,7 @@
 # Standalone test programs
 noinst_PROGRAMS = rans4x16pr tokenise_name3 arith_dynamic rans4x8 rans4x16pr fqzcomp_qual varint entropy
 
-LDADD = $(top_builddir)/htscodecs/libhtscodecs.la
 LDADD = $(top_builddir)/htscodecs/libhtscodecs.la -lm
 AM_CPPFLAGS = -I$(top_srcdir)
 
 fqzcomp_qual_SOURCES = fqzcomp_qual_test.c