Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix cross compilation. #601

Merged
merged 3 commits into from
Oct 25, 2022
Merged

Fix cross compilation. #601

merged 3 commits into from
Oct 25, 2022

Conversation

dvc94ch
Copy link
Contributor

@dvc94ch dvc94ch commented Oct 22, 2022

This is one of the patches that allows users to cross compile dioxus apps for macos using xbuild.

Closes #383

@dvc94ch dvc94ch requested a review from a team as a code owner October 22, 2022 13:44
@wusyong
Copy link
Member

wusyong commented Oct 24, 2022

What's the problem of #[cfg(target_os = "macos")]? Couldn't it check if it's the right config?

@dvc94ch
Copy link
Contributor Author

dvc94ch commented Oct 24, 2022

the issue is building for mac on linux. The build script runs on the host so target_os = "linux". The code to build for Mac has been removed and a build failure happens.

@wusyong
Copy link
Member

wusyong commented Oct 24, 2022

alright, since this might be remove along with global shortcut. I don't think it's a big deal adding cc during build script.
Could you add a .change file?

@wusyong wusyong merged commit 2edc741 into tauri-apps:dev Oct 25, 2022
@github-actions github-actions bot mentioned this pull request Oct 25, 2022
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.

Cross-Compiling Tao For MacOS On Linux
2 participants