meson: Fix configure error for multiple mali libs

Use ' ' to split the outout of new grabber.sh.

Change-Id: I1ecd4c2c9f52bf2e64dd45e6a52fd3eb4148e80a
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
This commit is contained in:
Jeffy Chen 2022-08-13 18:12:57 +08:00
parent 05607dabfc
commit 87cc4d961d

View file

@ -33,7 +33,7 @@ message('Building for ' + '|'.join([arch, gpu, version, subversion,
# Grab libraries with specified configs
cmd = run_command('scripts/grabber.sh',
arch, gpu, version, subversion, platform, optimize, check : false)
libs = cmd.stdout().strip().split('\n')
libs = cmd.stdout().strip().split(' ')
# Use the first one as default library
default_lib = libs[0]