meson: Fix libMali.so type error

It should be a symlink to libmali.

Change-Id: I0b6a14dd4b92e8f5d1b422899f3233ec6b7531c9
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
This commit is contained in:
Jeffy Chen
2022-04-27 21:32:39 +08:00
parent 36da61a55d
commit 2f07949539
2 changed files with 3 additions and 1 deletions

View File

@@ -170,7 +170,8 @@ if is_utgard
custom_target(
'libMali',
output : 'libMali.so',
command : ['ln', '-sf', 'libmali.so', '@OUTPUT@'],
command : ['echo'],
capture : true,
install_dir : get_option('libdir'),
install : true)
endif

View File

@@ -12,3 +12,4 @@ SOURCE="$(basename $2)"
cd "$DEST_DIR"
cp $SOURCE libmali.so
cp -a libmali.so $SOURCE
[ -f libMali.so ] && cp -a libmali.so libMali.so