From: Joonbum Ko Date: Thu, 19 Aug 2021 04:48:58 +0000 (+0900) Subject: Add rpath option with /hal/lib/ X-Git-Tag: accepted/tizen/unified/20230227.042036~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1b430bd1c6d340217a5b291269365632f34a2cb2;p=platform%2Fupstream%2Fmesa.git Add rpath option with /hal/lib/ Change-Id: I8b31bd3a6db6bad405c9ddd272697a9cd12ad698 Signed-off-by: Joonbum Ko --- diff --git a/meson.build b/meson.build index 06708fa..4ef8edd 100644 --- a/meson.build +++ b/meson.build @@ -1199,7 +1199,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