-
-
Notifications
You must be signed in to change notification settings - Fork 12.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
libgit2-glib: m1-support add in rpath to build on Apple Silicon #80314
Conversation
Let's wait for feedback from upstream on your patch. |
url "https://gitlab.gnome.org/GNOME/libgit2-glib/-/commit/e5e61a523508851daa6e54333c2747b7807496fb.diff" | ||
sha256 "6b311f239a872b102a018b1ed14a72fdad18ca4e2c47de3c2b6b2e9e9b66a69d" | ||
end | ||
|
||
def install | ||
mkdir "build" do |
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.
I also wonder if we can do without the patch by doing
ENV.append "LDFLAGS", "-Wl,-rpath,#{rpath}"
Though I do know meson
is a bit weird about rpath
LDFLAGS
.
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.
I’ll try that
I know meson was pretty interesting to figure out
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.
ok that worked, lemme push with that instead it seems preferable.
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.
@carlocab changed to this method
Linking upstream here: https://gitlab.gnome.org/GNOME/libgit2-glib/-/merge_requests/29 |
This was opened upstream as https://gitlab.gnome.org/GNOME/libgit2-glib/-/merge_requests/29 to always pass rpath in meson but that might not be correct
2bc3b90
to
5e77f0b
Compare
brew install --build-from-source <formula>
, where<formula>
is the name of the formula you're submitting?brew test <formula>
, where<formula>
is the name of the formula you're submitting?brew audit --strict <formula>
(after doingbrew install --build-from-source <formula>
)? If this is a new formula, does it passbrew audit --new <formula>
?