aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2021-05-26 10:24:00 +0200
committerlawl <github@dumbinter.net>2021-05-26 20:50:28 +0200
commit809f184e875ce012b7e75c6def2ec56aebd5cf94 (patch)
treea79aea655513ba5dc70ee96634aa57e7bbf4cc53
parenta32f73509fc001a62abd1e8d888ef0e3c9ec2f09 (diff)
downloadnoisetorch-809f184e875ce012b7e75c6def2ec56aebd5cf94.tar.gz
noisetorch-809f184e875ce012b7e75c6def2ec56aebd5cf94.zip
c:ladspa: Fix linking with libm
Fixes #140
-rw-r--r--c/ladspa/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/ladspa/Makefile b/c/ladspa/Makefile
index ee7b64d..8571d21 100644
--- a/c/ladspa/Makefile
+++ b/c/ladspa/Makefile
@@ -1,3 +1,3 @@
default:
$(CC) -Wall -Werror -O2 -c -fPIC ../ringbuf.c ../rnnoise/*.c module.c
- $(CC) -shared -lm -Wl,--version-script=export.txt -o rnnoise_ladspa.so *.o
+ $(CC) -o rnnoise_ladspa.so *.o -shared -Wl,--version-script=export.txt -lm