We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9a691b commit 91207c9Copy full SHA for 91207c9
src/runtime/lpython/lpython.py
@@ -717,9 +717,9 @@ def get_rtlib_dir():
717
python_path = "-I" + get_python_inc() + " "
718
numpy_path = "-I" + get_include() + " "
719
rt_path_01 = "-I" + get_rtlib_dir() + "/../libasr/runtime "
720
- rt_path_02 = "-L" + get_rtlib_dir() + " -Wl,-rpath " \
+ rt_path_02 = "-L" + get_rtlib_dir() + " -Wl,-rpath," \
721
+ get_rtlib_dir() + " -llpython_runtime "
722
- python_lib = "-L" + get_python_lib() + "/../.. -lpython" + \
+ python_lib = "-L" + get_python_lib() + "/../.." + f" -Wl,-rpath,{get_python_lib()+'/../..'}" + " -lpython" + \
723
get_python_version() + " -lm"
724
725
# ----------------------------------------------------------------------
0 commit comments