hook: Link with libmali.so

To make sure that the libmali.so is loaded before the initial no-load
dlopen() here.

Fix dlopen() error when linking with libmali-hook.so alone:
FATAL: dlopen(libmali.so.1) failed((null))

Change-Id: I66599d9125322a956470189e926870bb6fcb635c
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
This commit is contained in:
Jeffy Chen 2024-04-07 12:40:36 +08:00
parent 2520ec750e
commit 751535b76d

View file

@ -22,6 +22,7 @@ libhook_cflags = [
]
libhook_dep = [
mali,
dependency('threads'),
cc.find_library('dl', required : false),
dependency('libdrm', version : '>= 2.4.0'),