Skip to content

Commit

Permalink
Add missing select statement to fix flac build on Windows.
Browse files Browse the repository at this point in the history
  - Follow-up of previous commit.

PiperOrigin-RevId: 671865451
  • Loading branch information
jwcullen committed Sep 6, 2024
1 parent f967676 commit ec43bb6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions external/flac.BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ flac_local_defines = [
]

# Defines which need to propagate to all downstream users.
flac_defines = [
flac_defines = select({
"@platforms//os:windows": ["FLAC__NO_DLL"],
"//conditions:default": [],
]
})

flac_linkopts = select({
"@platforms//os:windows": [],
Expand All @@ -77,9 +77,9 @@ cc_library(
srcs = flac_srcs,
hdrs = flac_hdrs,
copts = flac_copts,
local_defines = flac_local_defines,
defines = flac_defines,
linkopts = flac_linkopts,
local_defines = flac_local_defines,
textual_hdrs = flac_textual_includes,
)

Expand Down

0 comments on commit ec43bb6

Please sign in to comment.