Skip to content
Merged
Changes from all commits
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
3 changes: 2 additions & 1 deletion src/setuptools_dso/dsocmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,8 @@ def dso2lib_pre(self, ext):
# For lack of a better idea, give both versions and hope that the non-functional
# one is really non-functional.
soargs.add('-Wl,-rpath,$ORIGIN/%s'%os.path.relpath(dsopath, mypath))
soargs.add(r'-Wl,-rpath,\$ORIGIN/%s'%os.path.relpath(dsopath, mypath))
if 'gcc' in self.compiler.linker_so[0]:
soargs.add(r'-Wl,-rpath,\$ORIGIN/%s'%os.path.relpath(dsopath, mypath))

# Do not append to extisting list as it may be shared
# between multiple extensions
Expand Down
Loading