meson: simplify symbol list linker args
Open
enhancement
good first issue
- Dominant language
- C
- Stars
- 531
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
Instead of this:
https://github.com/mkhl/mrsh/blob/f94361fdff16f3a19a764691a418fb6734a634ad/meson.build#L40-L48
ubitux suggested this:
```meson
lib_link_args = cc.get_supported_link_arguments([
'-Wl,--version-script,@0@'.format(meson.current_source_dir() / 'lib.symexport'), # GNU ld
'-Wl,-exported_symbols_list,@0@'.format(meson.current_source_dir() / 'lib.darwin.symexport'), # Darwin
])
```
Contributor guide
Assessment
This issue has not been assessed yet.