peterh / liner

Pure Go line editor with history, inspired by linenoise
MIT License
1.04k stars 132 forks source link

Add "golang.org/x/sys" to go.mod for Solaris #140

Closed ichizok closed 3 years ago

ichizok commented 3 years ago

Sorry, I forgot to update go.mod in #139 .

peterh commented 3 years ago

Even after this change, cross compiling fails with GOOS=solaris

.\output.go:53:30: undefined: syscall.SYS_IOCTL
.\unixmode.go:11:33: undefined: syscall.SYS_IOCTL
.\unixmode.go:34:33: undefined: syscall.SYS_IOCTL
ichizok commented 3 years ago

Oh.. sorry, I missed (and just confirmed) that golang package distributed by OpenIndiana repository is the patched version. I will revert this and #139 once.