Skip to content

Commit 02e84e0

Browse files
committed
Merge pull request #136 from mikedanese/fix-bazel
fix bazel build
2 parents 4850d8b + a5a6a4f commit 02e84e0

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

core/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ cc_library(
3838
"static_analysis.cpp",
3939
"string_utils.cpp",
4040
"vm.cpp",
41-
"//stdlib:std.jsonnet.h",
4241
],
4342
hdrs = [
4443
"ast.h",
@@ -54,6 +53,7 @@ cc_library(
5453
":common",
5554
":lexer",
5655
"//include:libjsonnet",
56+
"//stdlib:std",
5757
],
5858
linkopts = ["-lm"],
5959
includes = ["."],

stdlib/BUILD

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
package(default_visibility = ["//visibility:public"])
22

3-
filegroup(
3+
cc_library(
44
name = "std",
5-
srcs = ["std.jsonnet"],
5+
hdrs = ["std.jsonnet.h"],
6+
srcs = [":gen-std-jsonnet-h"],
7+
includes = ["."],
8+
linkstatic = 1,
69
)
710

811
genrule(

0 commit comments

Comments
 (0)