Skip to content

Fix compiling native when main project is cross-compiling#635

Merged
mvandervoord merged 1 commit intoThrowTheSwitch:masterfrom
noahknegt:bugfix/Cross-compiling-set-native
Oct 14, 2022
Merged

Fix compiling native when main project is cross-compiling#635
mvandervoord merged 1 commit intoThrowTheSwitch:masterfrom
noahknegt:bugfix/Cross-compiling-set-native

Conversation

@noahknegt
Copy link
Contributor

I am using this framework for unit testing and with that using meson. With meson i use this framework as a submodule and with the main meson project being cross-compiled it tried to cross-compile the framework as well, although the unittesting is done on the host machine. To fix this I added the native parameter to the the definition of the static library, so that that when used as a subproject in a crosscompiled project it will be used as a native instead of a cross project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants