Thanks to visit codestin.com Credit goes to github.com
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 745177b commit b92b718Copy full SHA for b92b718
src/runtime/lpython/lpython.py
@@ -727,9 +727,9 @@ def get_rtlib_dir():
727
python_path = "-I" + get_python_inc() + " "
728
numpy_path = "-I" + get_include() + " "
729
rt_path_01 = "-I" + get_rtlib_dir() + "/../libasr/runtime "
730
- rt_path_02 = "-L" + get_rtlib_dir() + " -Wl,-rpath " \
+ rt_path_02 = "-L" + get_rtlib_dir() + " -Wl,-rpath," \
731
+ get_rtlib_dir() + " -llpython_runtime "
732
- python_lib = "-L" + get_python_lib() + "/../.. -lpython" + \
+ python_lib = "-L" + get_python_lib() + "/../.." + f" -Wl,-rpath,{get_python_lib()+'/../..'}" + " -lpython" + \
733
get_python_version() + " -lm"
734
735
# ----------------------------------------------------------------------
0 commit comments