Skip to content

Commit

Permalink
use @loader_path in mac
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuminjie committed Oct 15, 2020
1 parent 03da73f commit cd07262
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openseespy-pip/build_pip.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def copy_mac_library(so):
print('changing rpath from '+line[i:j]+' to lib/'+lib_name)
subprocess.run(
['install_name_tool', '-change', line[i:j],
'lib/'+lib_name, mac+'opensees.so']
'@loader_path/lib/'+lib_name, mac+'opensees.so']
)

if os.path.exists(mac+'lib/Python'):
Expand Down

0 comments on commit cd07262

Please sign in to comment.