py-mo-pack: add LDFLAGS to fix build error (#22747)
This commit is contained in:
parent
8a0aec4c4d
commit
4807956977
@ -18,3 +18,6 @@ class PyMoPack(PythonPackage):
|
|||||||
depends_on('libmo-unpack')
|
depends_on('libmo-unpack')
|
||||||
depends_on('py-numpy', type=('build', 'run'))
|
depends_on('py-numpy', type=('build', 'run'))
|
||||||
depends_on('py-cython', type=('build', 'run'))
|
depends_on('py-cython', type=('build', 'run'))
|
||||||
|
|
||||||
|
def setup_build_environment(self, env):
|
||||||
|
env.append_flags('LDFLAGS', self.spec['libmo-unpack'].libs.search_flags)
|
||||||
|
Loading…
Reference in New Issue
Block a user