Skip to content

Commit 0230748

Browse files
committed
Change -rpath to -Wl,-rpath
1 parent f29a354 commit 0230748

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

fastwarc/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def get_cpp_args():
6363
'-Wno-deprecated-declarations',
6464
'-Wno-unreachable-code',
6565
'-Wno-unused-function'],
66-
extra_link_args=['-std=c++17', f'-L{LIBRARY_PATH}', '-rpath', f'{LIBRARY_PATH}']
66+
extra_link_args=['-std=c++17', f'-L{LIBRARY_PATH}', f'-Wl,-rpath,{LIBRARY_PATH}']
6767
))
6868
if DEBUG:
6969
cpp_args['extra_compile_args'].append('-Werror')

resiliparse/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def get_cpp_args():
6464
'-Wno-deprecated-declarations',
6565
'-Wno-unreachable-code',
6666
'-Wno-unused-function'],
67-
extra_link_args=['-std=c++17', f'-L{LIBRARY_PATH}', '-rpath', f'{LIBRARY_PATH}']
67+
extra_link_args=['-std=c++17', f'-L{LIBRARY_PATH}', f'-Wl,-rpath,{LIBRARY_PATH}']
6868
))
6969
if DEBUG:
7070
cpp_args['extra_compile_args'].append('-Werror')

0 commit comments

Comments
 (0)