@@ -3,5 +3,5 @@
<https://github.com/lucianodato/speech-denoiser>
a lv2:Plugin;
- lv2:binary <sdenoise.so> ;
+ lv2:binary <sdenoise@LIB_EXT@> ;
rdfs:seeAlso <sdenoise.ttl> .
@@ -39,7 +39,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/
#define FRAME_SIZE 480 //Frame default size (For 48 kHz sampling rate)
+#ifndef M_PI
#define M_PI 3.14159265358979323846f
+#endif
///---------------------------------------------------------------------
@@ -5,8 +5,9 @@ fi
git clone https://github.com/xiph/rnnoise.git
cd rnnoise/
./autogen.sh
-CFLAGS="-fvisibility=hidden -fPIC -Wl,--exclude-libs,ALL" \
+CFLAGS="-fvisibility=hidden -fPIC " \
./configure \
--disable-examples --disable-doc \
--disable-shared --enable-static
-make -j2
+make -j2
+#-Wl,--exclude-libs,ALL