linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / libraries / speexdsp / build-fix.patch
blob13cd5e7d21a53e171d839a4497a5187e28f88317
1 diff --git a/libspeexdsp/Makefile.am b/libspeexdsp/Makefile.am
2 index d0499b9..42e8d50 100644
3 --- a/libspeexdsp/Makefile.am
4 +++ b/libspeexdsp/Makefile.am
5 @@ -29,7 +29,7 @@ noinst_HEADERS = arch.h bfin.h \
6 pseudofloat.h smallft.h vorbis_psy.h resample_sse.h resample_neon.h
8 libspeexdsp_la_LDFLAGS = -no-undefined -version-info @SPEEXDSP_LT_CURRENT@:@SPEEXDSP_LT_REVISION@:@SPEEXDSP_LT_AGE@
9 -libspeexdsp_la_LIBADD = $(LIBM)
10 +libspeexdsp_la_LIBADD = @FFT_LIBS@ $(LIBM)
12 if BUILD_EXAMPLES
13 noinst_PROGRAMS = testdenoise testecho testjitter testresample
14 diff --git a/speexdsp.pc.in b/speexdsp.pc.in
15 index 6c6d26f..d40d856 100644
16 --- a/speexdsp.pc.in
17 +++ b/speexdsp.pc.in
18 @@ -11,5 +11,5 @@ Version: @PACKAGE_VERSION@
19 Requires: @FFT_PKGCONFIG@
20 Conflicts:
21 Libs: -L${libdir} -lspeexdsp
22 -Libs.private: @LIBM@
23 +Libs.private: @FFT_LIBS@ @LIBM@
24 Cflags: -I${includedir}