-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
gping: build against system libgit2 #49676
base: master
Are you sure you want to change the base?
Conversation
We could alternatively patch Cargo.toml to disable git2 from the shadow-rs crate, especially since there's no git repo to inspect after all. |
Those patches get annoying to carry over versions. I sent a patch upstream for now. |
build_style=cargo | ||
make_install_args="--path gping" | ||
hostmakedepends="pkg-config libgit2-devel" | ||
makedepends="libgit2-devel" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if it's just the build script then we need only hostmakedepends
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tried that, didn't work for cross. It's not only for build, also in main.
Drafting for now since patch release is coming upstream in a couple days with removed dep on libgit2. |
ping |
Testing the changes
Local build testing
Although it doesn't actually link against libgit2.so