diff options
Diffstat (limited to 'third_party/kafka')
-rw-r--r-- | third_party/kafka/BUILD | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/third_party/kafka/BUILD b/third_party/kafka/BUILD index 7a60edb483..3c50b8cf52 100644 --- a/third_party/kafka/BUILD +++ b/third_party/kafka/BUILD @@ -147,8 +147,6 @@ cc_library( "src/lz4.c", "src/snappy_compat.h", ], - includes = ["src", "src-cpp"], - defines = ["LIBRDKAFKA_STATICLIB"], copts = select({ "@org_tensorflow//tensorflow:windows": [ "-DWIN32_LEAN_AND_MEAN", @@ -159,6 +157,11 @@ cc_library( ], "//conditions:default": [], }), + defines = ["LIBRDKAFKA_STATICLIB"], + includes = [ + "src", + "src-cpp", + ], linkopts = select({ "@org_tensorflow//tensorflow:windows": ["-defaultlib:crypt32.lib"], "//conditions:default": ["-lpthread"], |