forked from mesonbuild/meson
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
environment: Consider compiler and linker arguments for the dynamic l…
…inker There are at least two cases that we could run into here, one is someone could use an argument -fuse-ld=...; which would cause is to misdetect the linker being used. The other is that someone could use clang --target=, which will cause clang to use a different linker than without --target=; causing more mis-detection. This considers environment variables, -D<lang>_args, and both cross and native file appropriately. This patch is very much not perfect, there's some code duplication and some "working around the design" going on. That needs to be addressed, but this unbreaks things, and thats good. Fixes mesonbuild#6057
- Loading branch information
Showing
1 changed file
with
42 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters