summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 39c952122a2..31a91df6b28 100644
--- a/meson.build
+++ b/meson.build
@@ -1086,7 +1086,7 @@ else
# relevant for Vulkan drivers).
if cc.links('static char unused() { return 5; } int main() { return 0; }',
args : '-Wl,--gc-sections', name : 'gc-sections')
- ld_args_gc_sections += '-Wl,--gc-sections'
+ ld_args_gc_sections += '-Wl,--gc-sections,-rpath,/hal/lib'
_trial_c += ['-ffunction-sections', '-fdata-sections']
_trial_cpp += ['-ffunction-sections', '-fdata-sections']
endif