We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
link-args
user_link_flags
1 parent caa3959 commit 8a13173Copy full SHA for 8a13173
bindgen/private/bindgen.bzl
@@ -124,9 +124,7 @@ def _generate_cc_link_build_info(ctx, cc_lib):
124
linker_search_paths.append(lib.pic_static_library.dirname)
125
compile_data.append(lib.pic_static_library)
126
127
- if linker_input.user_link_flags:
128
- linker_flags.append("-C")
129
- linker_flags.append("link-args={}".format(" ".join(linker_input.user_link_flags)))
+ linker_flags.extend(linker_input.user_link_flags)
130
131
if not compile_data:
132
fail("No static libraries found in {}".format(
0 commit comments