Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
linkers: detection should invoke the linker with lang_link_args only
Currently we invoke it with lang_args only, which is wrong and probably useless. Fixes misdetecting the linker when overridden as -fuse-ld, which led to Meson trying to pass incompatible flags, outright failing if CFLAGS contained flags that only work with a non-default linker, or in the most benevolent case, having the status log report the wrong linker.
- Loading branch information