summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonbum Ko <joonbum.ko@samsung.com>2021-08-19 19:15:26 +0900
committerJoonbum Ko <joonbum.ko@samsung.com>2021-08-19 21:09:01 +0900
commit7cc36cd27ab6f1595d61ec9e1d5b9669b82b25c2 (patch)
tree1d47afec21e4d8314296a0b90f7df8af58a6c4f4
parent51a9e5a549ac0fefeacc142810620af47b82ed63 (diff)
downloadmesa-accepted/tizen_6.5_unified.tar.gz
mesa-accepted/tizen_6.5_unified.tar.bz2
mesa-accepted/tizen_6.5_unified.zip
Change-Id: Ib250916f0d8ca096107eb988626fa20e221bda3a Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
-rw-r--r--meson.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 6ddbb712d9e..d8eb544adc7 100644
--- a/meson.build
+++ b/meson.build
@@ -1331,7 +1331,9 @@ ld_args_gc_sections = []
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,-rpath,/hal/lib'
+
+ ld_args_gc_sections += '-Wl,-rpath,@0@'.format(
+ join_paths(get_option('prefix'), get_option('libdir')))
endif
with_ld_version_script = false
if cc.links('int main() { return 0; }',