You've already forked libmali-rockchip
mirror of
https://github.com/armbian/libmali-rockchip.git
synced 2026-01-06 12:03:41 -08:00
meson.build: Set --no-as-needed for wrappers
The asneeded might be enabled by default in the OS. Change-Id: I4d18b04a3619673b403af85069d3f0300a1c3731 Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
project(
|
||||
'libmali', 'c',
|
||||
version : '1.9.0',
|
||||
meson_version : '>=0.58.0',
|
||||
default_options : ['b_asneeded=false'])
|
||||
meson_version : '>=0.58.0')
|
||||
|
||||
mali_version = meson.project_version()
|
||||
|
||||
@@ -98,6 +97,9 @@ endif
|
||||
|
||||
if wrappers
|
||||
message('Provide wrappers')
|
||||
|
||||
# Wrappers would link to the real library.
|
||||
add_project_link_arguments('-Wl,--no-as-needed', language : 'c')
|
||||
else
|
||||
# The vendor package requires soname of wrappers.
|
||||
if vendor_package
|
||||
|
||||
Reference in New Issue
Block a user