Adds supports_dynamic_linker feature
With this feature, cc_library generates a .so as well as a .a and the "dynamic_library" output group is enabled.
This commit is contained in:
parent
947402c843
commit
0db5d2d9e6
@ -129,9 +129,15 @@ def _zig_cc_toolchain_config_impl(ctx):
|
||||
flag_sets = dynamic_library_flag_sets,
|
||||
)
|
||||
|
||||
supports_dynamic_linker = feature(
|
||||
name = "supports_dynamic_linker",
|
||||
enabled = True,
|
||||
)
|
||||
|
||||
features = [
|
||||
compile_and_link_flags,
|
||||
default_linker_flags,
|
||||
supports_dynamic_linker,
|
||||
] + _compilation_mode_features(ctx)
|
||||
|
||||
return cc_common.create_cc_toolchain_config_info(
|
||||
|
Loading…
Reference in New Issue
Block a user