Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/alexmarsev/soxr.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2013-03-24 17:36:07 +0400
committerRob Sykes <rob@rob-Ideapad-S205.(none)>2013-03-24 17:36:07 +0400
commitfe6ca521e2b022e10247a4250743abd690fba871 (patch)
treea4d65f40a99d6a991d2d2f8de8e55b689c7d49f2
parentaaee21bb8c04f777c9a9a607f99bf87a9ee0f01c (diff)
Link examples with -lm, as some examples use functions like sin()
-rwxr-xr-xinst-check-soxr2
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
}