Skip to content

Commit be607c4

Browse files
Remove macOS RPATH support
1 parent f6d7e2a commit be607c4

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

meson.build

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,8 @@ cc = meson.get_compiler('c')
2929
c_args = ['-DNDEBUG']
3030

3131
rpath_link_args = []
32-
if host_machine.system() != 'windows'
33-
if host_machine.system() == 'darwin'
34-
origin = '@loader_path'
35-
else
36-
origin = '$ORIGIN'
37-
endif
38-
rpath = origin / '../..' + ':' + origin / '../../..'
32+
if host_machine.system() == 'linux'
33+
rpath = '$ORIGIN' / '../..' + ':' + '$ORIGIN' / '../../..'
3934
rpath_link_args = ['-Wl,-rpath,' + rpath]
4035
endif
4136

0 commit comments

Comments
 (0)