mirror of
https://github.com/vee1e/flatbuffers.git
synced 2026-09-01 17:57:25 +00:00
Add a split on ':' to build_defs.bzl (#6742)
This commit is contained in:
parent
65700441d3
commit
016e6aa13f
1 changed files with 1 additions and 1 deletions
|
|
@ -209,7 +209,7 @@ def flatbuffer_cc_library(
|
|||
Happy dependent Flatbuffering!
|
||||
'''
|
||||
output_headers = [
|
||||
(out_prefix + "%s_generated.h") % (s.replace(".fbs", "").split("/")[-1])
|
||||
(out_prefix + "%s_generated.h") % (s.replace(".fbs", "").split("/")[-1].split(":")[-1])
|
||||
for s in srcs
|
||||
]
|
||||
reflection_name = "%s_reflection" % name if gen_reflections else ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue