From 9ccdf431f1d57ac8b53739a03641c548b13c58d3 Mon Sep 17 00:00:00 2001 From: Mike Wiacek Date: Sun, 7 Jul 2019 23:34:35 -0700 Subject: [PATCH] Fix cc_library rule so yara builds when included via a bazel git_repository rule (#1086) --- BUILD.bazel | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/BUILD.bazel b/BUILD.bazel index d43d51a96d..33ca7e8639 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -213,7 +213,11 @@ cc_library( "libyara/include/yara/rules.h", ], copts = YARA_COPTS, - includes = ["libyara/include"], + includes = [ + "libyara/modules", + "libyara/include", + "libyara", + ], textual_hdrs = [ "libyara/grammar.h", "libyara/hex_grammar.y",