From 1d173f39b51a31212d9ec346044fa81587df34f4 Mon Sep 17 00:00:00 2001 From: Jeffy Chen Date: Fri, 24 Nov 2023 14:54:37 +0800 Subject: [PATCH] meson: Cleanup rpath We don't need special rpath. Change-Id: I818416e89900180bbf572b740da01b832023aca8 Signed-off-by: Jeffy Chen --- hook/meson.build | 4 +++- meson.build | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/hook/meson.build b/hook/meson.build index 0bc1be9..4753001 100644 --- a/hook/meson.build +++ b/hook/meson.build @@ -62,6 +62,7 @@ libhook = shared_library( include_directories : libhook_inc, dependencies : libhook_dep, install : true, + install_rpath : '$ORIGIN', version : mali_version) libhook_ldflags = ['-L${libdir}', '-lmali-hook'] @@ -70,7 +71,8 @@ libhook_ldflags = ['-L${libdir}', '-lmali-hook'] libinjector = static_library( 'mali-hook-injector', 'injector.c', - install : true) + install : true, + install_rpath : '$ORIGIN') # Ensure that the hook library would not be removed as unused libhook_ldflags += \ diff --git a/meson.build b/meson.build index f97e5a4..9add735 100644 --- a/meson.build +++ b/meson.build @@ -250,6 +250,7 @@ foreach name, values : map link_with : [libhook, libmali], install : true, install_dir : wrapper_libdir, + install_rpath : '$ORIGIN', version : version) endforeach