提交 94bbc1ca 作者: Steven Allen

fix openbsd build by disabling fuse on openbsd

fixes #5334
上级 55afc478
// +build !nofuse
// +build !nofuse,!openbsd
package ipns
......
// +build !nofuse
// +build !nofuse,!openbsd
// package fuse/ipns implements a fuse filesystem that interfaces
// with ipns, the naming system for ipfs.
......
// +build !nofuse
// +build !nofuse,!openbsd
package ipns
......
// +build !nofuse
// +build !windows
// +build !nofuse,!windows,!openbsd
package mount
......
// +build !nofuse
package node
import (
"errors"
core "github.com/ipfs/go-ipfs/core"
)
func Mount(node *core.IpfsNode, fsdir, nsdir string) error {
return errors.New("FUSE not supported on OpenBSD. See #5334 (https://git.io/fjMuC).")
}
// +build !nofuse
// +build !openbsd,!nofuse
package node
......
// +build !windows,!nofuse
// +build !windows,!openbsd,!nofuse
package node
......
// +build !nofuse
// +build !nofuse,!openbsd
package readonly
......
// +build linux darwin freebsd netbsd openbsd
// +build linux darwin freebsd netbsd
// +build !nofuse
package readonly
......
// +build linux darwin freebsd netbsd openbsd
// +build linux darwin freebsd netbsd
// +build !nofuse
package readonly
......
......@@ -20,8 +20,12 @@ SUPPORTED_PLATFORMS += linux-amd64
SUPPORTED_PLATFORMS += darwin-386
SUPPORTED_PLATFORMS += darwin-amd64
SUPPORTED_PLATFORMS += freebsd-386
SUPPORTED_PLATFORMS += freebsd-amd64
SUPPORTED_PLATFORMS += openbsd-386
SUPPORTED_PLATFORMS += openbsd-amd64
space:=
space+=
comma:=,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论