meson: Cleanup rpath

We don't need special rpath.

Change-Id: I818416e89900180bbf572b740da01b832023aca8
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
This commit is contained in:
Jeffy Chen 2023-11-24 14:54:37 +08:00
parent 19e9418e0d
commit 1d173f39b5
2 changed files with 4 additions and 1 deletions

View file

@ -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 += \

View file

@ -250,6 +250,7 @@ foreach name, values : map
link_with : [libhook, libmali],
install : true,
install_dir : wrapper_libdir,
install_rpath : '$ORIGIN',
version : version)
endforeach