```
flag_group {
flag_group {
flag: "-Wl,--start-lib"
expand_if_equal {
variable: "libraries_to_link.type"
value: "object_file_group"
}
}
flag_group {
flag_group {
flag: "%{libraries_to_link.object_files}"
expand_if_false: "libraries_to_link.is_whole_archive"
}
flag_group {
flag: "-Wl,-force_load,%{libraries_to_link.object_files}"
expand_if_true: "libraries_to_link.is_whole_archive"
}
iterate_over: "libraries_to_link.object_files"
expand_if_equal {
variable: "libraries_to_link.type"
value: "object_file_group"
}
}
flag_group {
flag: "-Wl,--end-lib"
expand_if_equal {
variable: "libraries_to_link.type"
value: "object_file_group"
}
}
}
```
but i think at this point it is to late to use the static libraries instead of the object files.
Does anyone know how to fix this?
--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/ca67e713-25e0-4aa4-8e59-044be6b589a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.