diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2013-03-24 17:36:07 +0400 |
---|---|---|
committer | Rob Sykes <rob@rob-Ideapad-S205.(none)> | 2013-03-24 17:36:07 +0400 |
commit | fe6ca521e2b022e10247a4250743abd690fba871 (patch) | |
tree | a4d65f40a99d6a991d2d2f8de8e55b689c7d49f2 | |
parent | aaee21bb8c04f777c9a9a607f99bf87a9ee0f01c (diff) |
Link examples with -lm, as some examples use functions like sin()
-rwxr-xr-x | inst-check-soxr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inst-check-soxr b/inst-check-soxr index 418f65b..6dfa5bd 100755 --- a/inst-check-soxr +++ b/inst-check-soxr @@ -29,7 +29,7 @@ build_examples() { for f in ?$2-*.[cC]; do cc=cc; echo $f | grep -q C$ && cc=c++ out=$tmp/`echo $f | sed "s/.[cC]$//"` - cmd="$cc $cflags -o $out $f $libs" + cmd="$cc $cflags -o $out $f $libs -lm" echo $cmd; $cmd done } |