summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonbum Ko <joonbum.ko@samsung.com>2021-08-19 13:48:58 +0900
committerXuelian Bai <xuelian.bai@samsung.com>2024-01-18 09:31:56 +0800
commit7b9747611b14b122f574ba27b0c310b686a2e33a (patch)
treea917c8569f6c32320d48fc613afa5c2e5abc7d22
parentf34454cd6fcfcff435367e99b9af64792870c912 (diff)
downloadmesa-7b9747611b14b122f574ba27b0c310b686a2e33a.tar.gz
mesa-7b9747611b14b122f574ba27b0c310b686a2e33a.tar.bz2
mesa-7b9747611b14b122f574ba27b0c310b686a2e33a.zip
Add rpath option with /hal/lib/
Change-Id: I8b31bd3a6db6bad405c9ddd272697a9cd12ad698 Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
-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