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