Add link flags to Python setup.py

This commit is contained in:
Gaute Lindkvist
2020-06-16 12:54:19 +02:00
parent f67bce1dd8
commit 6db3ccf36f
2 changed files with 2 additions and 2 deletions

View File

@@ -67,7 +67,7 @@ ext_modules = [
undef_macros=["NDEBUG"],
include_dirs=["pybind11/include"],
extra_compile_args=['-std=c++17', '-fopenmp'],
extra_link_args=['-fopenmp']
extra_link_args=['-fopenmp', @opm-common_PYTHON_LINKAGE@]
)
]