You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ [...] cargo build
Compiling libusb1-sys v0.6.2 (/Users/adaszko/repos/rusb/libusb1-sys)
Compiling rusb v0.9.1
error: could not find native static library `objc`, perhaps an -L flag is missing?
This issue is preventing me from building a statically linked libusb1-sys. Linking itself should still work, it's just that rustc's erroring out prevents the pipeline from getting to the linking step AFAICT.
EDIT: Sorry, I've removed a misleading points about dynamic linking stemming from my misunderstanding of the issue.
The text was updated successfully, but these errors were encountered:
Hi 👋
I'm experiencing this issue on macOS Big Sur when libusb1-sys crate's
build.rs
invokespkg-config
and gets this:rustc seems then proceed to try to link
libobjc
:This issue is preventing me from building a statically linked libusb1-sys. Linking itself should still work, it's just that rustc's erroring out prevents the pipeline from getting to the linking step AFAICT.
EDIT: Sorry, I've removed a misleading points about dynamic linking stemming from my misunderstanding of the issue.
The text was updated successfully, but these errors were encountered: