Skip to content

Commit b9cc274

Browse files
committed
fix: use preferred and interface lib for extensions
1 parent eebb5fb commit b9cc274

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ecsact/private/ecsact_binary.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ def _ecsact_binary_impl(ctx):
4545
outputs.append(interface_output_file)
4646

4747
if ctx.attr.tracy:
48-
tracy_dll_file = ctx.actions.declare_file("{}{}".format("profiler", ".dll"))
49-
tracy_lib_file = ctx.actions.declare_file("{}{}".format("profiler", ".lib"))
48+
tracy_dll_file = ctx.actions.declare_file("{}{}".format("profiler", preferred_output_extension))
49+
tracy_lib_file = ctx.actions.declare_file("{}{}".format("profiler", ctx.attr.interface_library_extension))
5050

5151
outputs.append(tracy_dll_file)
5252
outputs.append(tracy_lib_file)

0 commit comments

Comments
 (0)