openblas: fix flags (#3344)

This commit is contained in:
Denis Davydov 2017-03-04 02:30:35 +01:00 committed by Adam J. Stewart
parent 1cf8dbd200
commit 003e841016

View File

@ -140,8 +140,8 @@ def check_install(self):
blessed_file = join_path(os.path.dirname(self.module.__file__),
'test_cblas_dgemm.output')
include_flags = spec.cppflags
link_flags = spec.libs.ld_flags
include_flags = spec['openblas'].cppflags
link_flags = spec['openblas'].libs.ld_flags
if self.compiler.name == 'intel':
link_flags += ' -lifcore'
link_flags += ' -lpthread'