py-pyfftw: add LDFLAGS to fix build error (#22745)
This commit is contained in:
parent
44d2444854
commit
8a0aec4c4d
@ -22,3 +22,6 @@ class PyPyfftw(PythonPackage):
|
|||||||
depends_on('py-cython@0.29:0.999', type='build')
|
depends_on('py-cython@0.29:0.999', type='build')
|
||||||
depends_on('py-numpy@1.6:', type=('build', 'run'), when='@:0.10.4')
|
depends_on('py-numpy@1.6:', type=('build', 'run'), when='@:0.10.4')
|
||||||
depends_on('py-numpy@1.10:1.999', type=('build', 'run'), when='@0.11.0:')
|
depends_on('py-numpy@1.10:1.999', type=('build', 'run'), when='@0.11.0:')
|
||||||
|
|
||||||
|
def setup_build_environment(self, env):
|
||||||
|
env.append_flags('LDFLAGS', self.spec['fftw'].libs.search_flags)
|
||||||
|
Loading…
Reference in New Issue
Block a user