Skip to content

Commit

Permalink
lpython.py: Fix python_lib and rtlib paths for JIT
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaikh-Ubaid committed Aug 17, 2023
1 parent d9a691b commit 91207c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/runtime/lpython/lpython.py
Original file line number Diff line number Diff line change
Expand Up @@ -717,9 +717,9 @@ def get_rtlib_dir():
python_path = "-I" + get_python_inc() + " "
numpy_path = "-I" + get_include() + " "
rt_path_01 = "-I" + get_rtlib_dir() + "/../libasr/runtime "
rt_path_02 = "-L" + get_rtlib_dir() + " -Wl,-rpath " \
rt_path_02 = "-L" + get_rtlib_dir() + " -Wl,-rpath," \
+ get_rtlib_dir() + " -llpython_runtime "
python_lib = "-L" + get_python_lib() + "/../.. -lpython" + \
python_lib = "-L" + get_python_lib() + "/../.." + f" -Wl,-rpath,{get_python_lib()+'/../..'}" + " -lpython" + \
get_python_version() + " -lm"

# ----------------------------------------------------------------------
Expand Down

0 comments on commit 91207c9

Please sign in to comment.