Skip to content

Commit 26ecdfb

Browse files
committed
fix build (by avoiding purego) on 32-bit GOARCH builds
This makes those architectures effectively always build in "nodynamic" mode without having to set the build tag. Signed-off-by: Brad Fitzpatrick <brad@danga.com>
1 parent 97b4f06 commit 26ecdfb

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

decode_dynamic.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build (unix || darwin || windows) && !nodynamic
1+
//go:build (unix || darwin || windows) && !(nodynamic || arm || 386 || mips || mipsle)
22

33
package heic
44

purego_other.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build (!unix && !darwin && !windows) || nodynamic
1+
//go:build (!unix && !darwin && !windows) || nodynamic || arm || 386 || mips || mipsle
22

33
package heic
44

purego_unix.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build unix && !darwin && !nodynamic
1+
//go:build unix && !darwin && !(nodynamic || arm || 386 || mips || mipsle)
22

33
package heic
44

0 commit comments

Comments
 (0)