26 lines
535 B
Diff
26 lines
535 B
Diff
From 826a46b67680545f633e28edc6665cc3c19753b4 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Robert-Andr=C3=A9=20Mauchin?= <zebob.m@gmail.com>
|
|
Date: Sun, 30 May 2021 23:03:33 +0200
|
|
Subject: [PATCH] Prevent the build of dup2.go on Linux aarch64
|
|
|
|
The dup2 syscall does not exist on Linux aarch64.
|
|
|
|
Fix #20.
|
|
---
|
|
dup2.go | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/dup2.go b/dup2.go
|
|
index aa3e849..279435f 100644
|
|
--- a/dup2.go
|
|
+++ b/dup2.go
|
|
@@ -1,4 +1,5 @@
|
|
// +build !windows
|
|
+// +build linux,!arm64
|
|
|
|
package panicwrap
|
|
|
|
--
|
|
2.31.1
|
|
|