diff --git a/third_party/tensorrt/local/BUILD b/third_party/tensorrt/local/BUILD index 3a9b8b2710..69f54d8246 100644 --- a/third_party/tensorrt/local/BUILD +++ b/third_party/tensorrt/local/BUILD @@ -67,6 +67,10 @@ cc_import( ":windows": "lib/nvinfer.dll", "//conditions:default": "lib/x86_64-linux-gnu/libnvinfer.so", }), + static_library = select({ + ":windows": "lib/nvinfer.lib", + "//conditions:default": "" + }), visibility = ["//visibility:private"], )