Skip to content

Commit 837ecca

Browse files
committed
Setting rpath to _mklinit.*.so
1 parent eaefa35 commit 837ecca

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ def extensions():
5959
include_dirs=mkl_include_dirs,
6060
libraries=mkl_libraries + (["pthread"] if os.name == "posix" else []),
6161
library_dirs=mkl_library_dirs,
62+
runtime_library_dirs=["$ORIGIN/../..", "$ORIGIN/../../.."],
6263
extra_compile_args=[
6364
"-DNDEBUG"
6465
# "-g", "-O2", "-Wall",

0 commit comments

Comments
 (0)