blob: c6b57050e81e6801d317e65e6bea69661a85d0ad [file] [log] [blame] [edit]
import("//build/config/linux/pkg_config.gni")
pkg_config("system_zlib") {
packages = [ "zlib" ]
defines = [ "USE_SYSTEM_ZLIB=1" ]
}
config("zlib_config") {
if(is_win && !is_mingw && !is_component_build) {
ldflags = ["/ignore:4099"] # needed on VCPKG CI builds
}
configs = [
":system_zlib",
]
}
source_set("zlib") {
public_configs = [
":system_zlib",
]
}