Depend on @zlib//:zlib regardless of platform (#3311)
Without this, I get a compilation error about missing <zlib.h> on a fresh linux install.
This commit is contained in:
committed by
Corentin Le Molgat
parent
1b3c2e3b38
commit
80b54da055
@@ -45,7 +45,7 @@ PLATFORM_FLAGS = select({
|
||||
PLATFORM_DEPS = select({
|
||||
"on_linux": ["@bliss//:libbliss"],
|
||||
"on_macos": ["@bliss//:libbliss"],
|
||||
"on_windows": ["@zlib//:zlib"],
|
||||
"on_windows": [],
|
||||
"//conditions:default": [],
|
||||
})
|
||||
|
||||
@@ -117,5 +117,6 @@ cc_library(
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
#"@cppad:cppad_includes",
|
||||
"@zlib//:zlib",
|
||||
] + PLATFORM_DEPS,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user