Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meson: simplify symbol list linker args #170

Open
emersion opened this issue Oct 23, 2020 · 0 comments
Open

meson: simplify symbol list linker args #170

emersion opened this issue Oct 23, 2020 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@emersion
Copy link
Owner

Instead of this:

https://github.com/mkhl/mrsh/blob/f94361fdff16f3a19a764691a418fb6734a634ad/meson.build#L40-L48

ubitux suggested this:

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
])
@emersion emersion added the enhancement New feature or request label Oct 23, 2020
@emersion emersion added the good first issue Good for newcomers label Nov 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant