Skip to content

meson: correctly detect linker arguments

xantares requested to merge xantares/mesa:link into main

Else we get these meson warnings:

WARNING: -Wl,--nxcompat looks like a linker argument, but has_argument and other similar methods only support checking compiler arguments. Using them to check linker arguments are never supported, and results are likely to be wrong regardless of the compiler you are using. has_link_argument or other similar method can be used instead.

Merge request reports