1# This file is licensed under the Apache License v2.0 with LLVM Exceptions. 2# See https://llvm.org/LICENSE.txt for license information. 3# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 4 5# Wrapper library for the system's zlib. Using this only works if the toolchain 6# already has the relevant header search and library search paths configured. 7# It also sets the relevant LLVM `#define`s to enable zlib. 8cc_library( 9 name = "zlib", 10 defines = ["LLVM_ENABLE_ZLIB=1"], 11 linkopts = ["-lz"], 12 visibility = ["//visibility:public"], 13) 14