Commit c0330461 authored by coypoop's avatar coypoop Committed by Eric Engestrom
Browse files

meson: Test for -Wl,--build-id=sha1



instead of hard-coding OS list. Helps Solaris ld builds.
Reviewed-by: Eric Engestrom's avatarEric Engestrom <eric@engestrom.ch>
Reviewed-by: Erik Faye-Lund 's avatarErik Faye-Lund <erik.faye-lund@collabora.com>
Signed-off-by: coypoop's avatarMaya Rashish <coypu@sdf.org>
parent 4913ad9a
Pipeline #67526 failed with stages
in 6 minutes and 1 second
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment