Linking against libraries on the host #2346
Unanswered
jerguslejko
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When I run
cargo build
on my machine (mac), I am able to build rdkafka-sys crate, by linking againstopenssl
library installed on my mac.When I try to build via bazel, I get
fatal error: 'openssl/ssl.h' file not found
. Is there a way to let bazel link against libraries on the host? I know this isn't probably recommended, I want to do it as a migration path from out current builds (so we can still install deps on the host, and runcargo build
via bazel).Thanks!
Beta Was this translation helpful? Give feedback.
All reactions