File: link_with_libm

package info (click to toggle)
htscodecs 1.6.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,640 kB
  • sloc: ansic: 15,651; javascript: 2,907; makefile: 330; sh: 184
file content (13 lines) | stat: -rw-r--r-- 508 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
From: Michael R. Crusoe <michael.crusoe@gmail.com>
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