Also, automatically set llvm_enable_zlib to true when zlib_path is set. Differential Revision: https://reviews.llvm.org/D80042
12 lines
274 B
Plaintext
12 lines
274 B
Plaintext
declare_args() {
|
|
if (host_os == "win") {
|
|
# On Windows, path to a directory containing zlib headers and zlib.lib.
|
|
zlib_path = ""
|
|
}
|
|
}
|
|
|
|
declare_args() {
|
|
# Whether to include code that links against zlib.
|
|
llvm_enable_zlib = host_os != "win" || zlib_path != ""
|
|
}
|