Skip to content

Commit

Permalink
Update build.cake
Browse files Browse the repository at this point in the history
  • Loading branch information
mattleibow committed Jul 10, 2024
1 parent 11cae29 commit 0b42aa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion native/linux/build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Task("libSkiaSharp")
// so we are forced to for dng_sdk. If this ever becomes a problem
// for other libraries, we will need to find a better solution.
var wordSize = ReduceArch(arch).EndsWith("64") ? "64" : "32";
var wordSizeDefine = VARIANT.ToLower() == "alpine"
var wordSizeDefine = VARIANT.ToLower().StartsWith("alpine")
? $", '-D__WORDSIZE={wordSize}'"
: $"";

Expand Down

0 comments on commit 0b42aa9

Please sign in to comment.