Modify to use cc as ld (Since meson doesn't support calling LD) #50
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
With the help of another maintainer of Void @leahneukirchen we tried to understand the cross compilation issues.
We figured out that meson doesn't support calling LD. Because of that we changed the behavior and now CC will be used for LD. Now building and installing works without the variables efi_cc and efi_ld which got removed prior to version 1.4.
I didn't got the chance to try fwupd-efi fully with this changes. If you have some input about what could be some good tests please let me know. None of my systems have a update at the moment to test this.
This does fix #39.