10000 ENH, BLD: Add RPATH support for AIX by EGuesnet · Pull Request #16710 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

ENH, BLD: Add RPATH support for AIX #16710

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 8, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
MAINT: Use f-strings for clarity.
  • Loading branch information
charris authored Jul 7, 2020
commit 78ec53b2db96553bf3d1938255e856800a016204
6 changes: 3 additions & 3 deletions numpy/distutils/fcompiler/gnu.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,12 +261,12 @@ def runtime_library_dir_option(self, dir):
assert "," not in dir

if sys.platform == 'darwin':
return '-Wl,-rpath,%s' % dir
return f'-Wl,-rpath,{dir}'
elif sys.platform[:3] == 'aix':
# AIX RPATH is called LIBPATH
return '-Wl,-blibpath:%s' % dir
return f'-Wl,-blibpath:{dir}'
else:
return '-Wl,-rpath=%s' % dir
return f'-Wl,-rpath={dir}'


class Gnu95FCompiler(GnuFCompiler):
Expand Down
0