Replies: 2 comments
-
Static linking is not my area of expertise either. I would argue though that if you find a way to link to Feel free to experiment further and tell me the results! |
Beta Was this translation helpful? Give feedback.
0 replies
-
It is definitely possible. I’m building statically linked binary with dbus-rs in connman-resolvconf – CI job for x86_64, job for aarch64. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to cross compile from a number of host machines to the raspberry pi. I'm following the conversation in https://github.com/diwic/dbus-rs/blob/master/libdbus-sys/cross_compile.md. While looking for
libdbus-1.so
on my pi I saw thatlibdbus-1.a
is right next to it (for me this is in/usr/lib/arm-linux-gnueabihf/libdbus-1.a
). Are there any reasons we can't copy this static lib and then add astatic-link
feature todbus-sys
to link it statically?Maybe my lack of knowledge about how static linking works is leading me to a false conclusion. Any help is much appreciated, and if it seems this is workable I'm willing to submit the patch.
Beta Was this translation helpful? Give feedback.
All reactions