diff options
author | Joonbum Ko <joonbum.ko@samsung.com> | 2021-08-19 19:15:26 +0900 |
---|---|---|
committer | Joonbum Ko <joonbum.ko@samsung.com> | 2021-08-19 21:09:01 +0900 |
commit | 7cc36cd27ab6f1595d61ec9e1d5b9669b82b25c2 (patch) | |
tree | 1d47afec21e4d8314296a0b90f7df8af58a6c4f4 | |
parent | 51a9e5a549ac0fefeacc142810620af47b82ed63 (diff) | |
download | mesa-accepted/tizen_6.5_unified.tar.gz mesa-accepted/tizen_6.5_unified.tar.bz2 mesa-accepted/tizen_6.5_unified.zip |
Modify rpath option to support both armv7l and aarch64tizen_6.5.m2_releasesubmit/tizen_6.5/20211028.163501submit/tizen/20210819.053117accepted/tizen/unified/20210819.224448accepted/tizen/6.5/unified/20211029.014843tizen_6.5sandbox/jbko/develaccepted/tizen_6.5_unified21.0.0_tizen
Change-Id: Ib250916f0d8ca096107eb988626fa20e221bda3a
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
-rw-r--r-- | meson.build | 4 |
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; }', |