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)
13 noinst_PROGRAMS = testdenoise testecho testjitter testresample
14 diff --git a/speexdsp.pc.in b/speexdsp.pc.in
15 index 6c6d26f..d40d856 100644
18 @@ -11,5 +11,5 @@ Version: @PACKAGE_VERSION@
19 Requires: @FFT_PKGCONFIG@
21 Libs: -L${libdir} -lspeexdsp
23 +Libs.private: @FFT_LIBS@ @LIBM@
24 Cflags: -I${includedir}