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 OSX build by supplying some extra arguments to libpagekite's configure #1

Merged
merged 4 commits into from
Nov 30, 2016

Conversation

samgiles
Copy link
Contributor

Update build.rs with some OSX specific requirements.

@samgiles samgiles changed the title Fix OSX build by supplying some extra arguments to libpagekite's configure Fix OSX build by supplying some extra arguments to libpagekite's configure Nov 30, 2016
@@ -74,6 +85,23 @@ fn build(output: &str) {
}
}

fn is_os_x() -> bool {
let exit_code = Command::new("sw_vers")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks quite hackish to me, but well... the other option would be to check the host triple in $HOST

Copy link
Contributor Author

@samgiles samgiles Nov 30, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can use the cfg! macro!

@fabricedesre
Copy link
Owner

The travis failure is unrelated.

@fabricedesre fabricedesre merged commit d2f2a7e into fabricedesre:master Nov 30, 2016
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