Skip to content

Commit 784f048

Browse files
nicomemfrob
authored andcommitted
[gn build] Try to unbreak Windows build after f8e833a501.
1 parent e8e5cb3 commit 784f048

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/utils/gn/build/libs/zlib/BUILD.gn

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ import("//llvm/utils/gn/build/libs/zlib/enable.gni")
33
config("zlib_config") {
44
visibility = [ ":zlib" ]
55
if (host_os == "win") {
6-
assert(zlib_path != "", "Please provide the path to zlib")
6+
assert(!llvm_enable_zlib || zlib_path != "",
7+
"Please provide the path to zlib.")
78
include_dirs = [ zlib_path ]
89
libs = [ "$zlib_path/zlib.lib" ]
910
} else {

0 commit comments

Comments
 (0)