From 908e98fe8ea970dc2002960f7f9eb5fdca04596f Mon Sep 17 00:00:00 2001 From: Gregor Jasny Date: Mon, 18 May 2020 21:59:11 +0200 Subject: [PATCH] bazel: Avoid local_defines attr for Bazel 0.23 compatibility --- pull/BUILD.bazel | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pull/BUILD.bazel b/pull/BUILD.bazel index 6d90c233..1a018ff1 100644 --- a/pull/BUILD.bazel +++ b/pull/BUILD.bazel @@ -15,8 +15,8 @@ cc_library( hdrs = glob( ["include/**/*.h"], ) + [":export_header"], - local_defines = [ - "HAVE_ZLIB", + copts = [ + "-DHAVE_ZLIB", ], strip_include_prefix = "include", visibility = ["//visibility:public"],