Commit b0af2666 authored by Tom Schoonjans's avatar Tom Schoonjans

meson: check if linker supports --no-undefined

macOS linkers do not support the --no-undefined argument, so a check
is necessary before passing it.
parent 228094e8
......@@ -23,9 +23,9 @@ libghex_c_args = [
'-DG_LOG_DOMAIN="libgtkhex-3"'
]
libghex_link_args = [
libghex_link_args = cc.get_supported_link_arguments([
'-Wl,--no-undefined'
]
])
install_headers(
libghex_headers,
......
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