-
Notifications
You must be signed in to change notification settings - Fork 4k
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
[feature request] Support cc_import of .so with soname #7059
Comments
Looks like this was touched on by 5efc8c4. Since that commit, one can do something like cc_import(
name = "mylib",
interface_library = "libmylib.so", # ld searches for this w/ -lmylib
shared_library = "libmylib.so.1", # soname embedded in library; runtime linker searches for this
) |
As mentioned above, I believe this is resolved. If there's still an issue, please reopen. |
I ran into this as well, however, I was using Ran into this trying to provide a solution for Let me know if this should be brought up as a separate issue (or should be considered an issue). |
I am in a similar problem and don't understand why |
Description of the problem / feature request:
At the moment
cc_import
supports linking to a shared library likelibmylib.so
. However, it does not support .so with soname, e.g.,libmylib.so.2
. It would be good to support .so with soname.Feature requests: what underlying problem are you trying to solve with this feature?
In linux .so with soname is very common so to expand the usage of
cc_import
to soname would be ideal.The text was updated successfully, but these errors were encountered: