summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAndrew W Elble <aweits@rit.edu>2020-11-03 13:36:24 -0500
committerGitHub <noreply@github.com>2020-11-03 12:36:24 -0600
commit886ae9a83f13e521707697ad6b9338244ffd09eb (patch)
tree91d2aae15f3d7a9f82bf6d61c1b8b84449fe33ab /var
parent95d63afa58e0a4ab8fd89fd33075862b4cfdcff6 (diff)
downloadspack-886ae9a83f13e521707697ad6b9338244ffd09eb.tar.gz
spack-886ae9a83f13e521707697ad6b9338244ffd09eb.tar.bz2
spack-886ae9a83f13e521707697ad6b9338244ffd09eb.tar.xz
spack-886ae9a83f13e521707697ad6b9338244ffd09eb.zip
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.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/speexdsp/package.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/speexdsp/package.py b/var/spack/repos/builtin/packages/speexdsp/package.py
index 4713d4f523..1031bb5eb7 100644
--- a/var/spack/repos/builtin/packages/speexdsp/package.py
+++ b/var/spack/repos/builtin/packages/speexdsp/package.py
@@ -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')