speexdsp: fix link dependency on FFT library (#19714)

without this, the library does not have a dependency
on the fft lib it was built with.
This commit is contained in:
Andrew W Elble 2020-11-03 13:36:24 -05:00 committed by GitHub
parent 95d63afa58
commit 886ae9a83f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,6 +23,12 @@ class Speexdsp(AutotoolsPackage):
patch('mkl.patch')
def patch(self):
filter_file('libspeexdsp_la_LIBADD = $(LIBM)',
'libspeexdsp_la_LIBADD = $(LIBM) $(FFT_LIBS)',
'libspeexdsp/Makefile.am',
string=True)
def autoreconf(self, spec, prefix):
autoreconf('--install', '--verbose', '--force')