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

Add a linking fallback for cross compilation #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

D1plo1d
Copy link

@D1plo1d D1plo1d commented Apr 11, 2021

This is a fix for #7 based on a similar fix I did for bsd-pidfile-rs. It fixes cross compilation by assuming a reasonable default for libudev when pkg-config fails.

Cross-Compilation Success!

$ cargo build --target=armv7-unknown-linux-gnueabihf
   Compiling libudev-sys v0.1.4 (/home/d1plo1d/git_repos/libudev-sys)
   Compiling libc v0.2.93
    Finished dev [unoptimized + debuginfo] target(s) in 0.78s

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.

None yet

1 participant