1 parent f6d7e2a commit be607c4Copy full SHA for be607c4
1 file changed
meson.build
@@ -29,13 +29,8 @@ cc = meson.get_compiler('c')
29
c_args = ['-DNDEBUG']
30
31
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 / '../../..'
+if host_machine.system() == 'linux'
+ rpath = '$ORIGIN' / '../..' + ':' + '$ORIGIN' / '../../..'
39
rpath_link_args = ['-Wl,-rpath,' + rpath]
40
endif
41
0 commit comments