mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2024-11-23 07:19:50 +00:00
meson: Test for -Wl,--build-id=sha1
instead of hard-coding OS list. Helps Solaris ld builds. Reviewed-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Signed-off-by: Maya Rashish <coypu@sdf.org>
This commit is contained in:
parent
4913ad9a37
commit
c0330461c9
@ -1123,10 +1123,8 @@ if cc.links('int main() { return 0; }',
|
||||
name : 'dynamic-list')
|
||||
with_ld_dynamic_list = true
|
||||
endif
|
||||
ld_args_build_id = []
|
||||
if build_machine.system() != 'darwin'
|
||||
ld_args_build_id += '-Wl,--build-id=sha1'
|
||||
endif
|
||||
|
||||
ld_args_build_id = cc.get_supported_link_arguments('-Wl,--build-id=sha1')
|
||||
|
||||
# check for dl support
|
||||
dep_dl = null_dep
|
||||
|
Loading…
Reference in New Issue
Block a user