Skip to content

Commit 44d8bbc

Browse files
committed
fix rpath regex for ubuntu systems
1 parent d663793 commit 44d8bbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

linker_interceptor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
is_linking_qemu = False
2525

2626
shared_library_pattern = r"^[^-].*/lib(.*)\.so(\.[0-9].*)?(?!rsp)$"
27-
rpath_pattern = r"^'.*,-rpath,(.*)'$"
27+
rpath_pattern = r".*,-rpath,(.*)'?.*"
2828
rpath_link_pattern = r"^.*,-rpath-link,(.*)$"
2929

3030
linker_interceptor_pattern = r"(\": \")(.*linker_interceptor.py)( )"

0 commit comments

Comments
 (0)