sftpgo的openwrt X64编译bin及默认配置文件 1、官方sftpgo的X64 linux不适用于openwrt x64 2、编译很烦人, 3、所以提供下载 编译过程 git clone https://github.com/drakkan/sftpgo.git cd sftpgo # runtime/cgo #/usr/bin/ld: cannot find -lpthread #so let 's do some the ar -rc /usr/lib/libpthread.a ar -rc /usr/lib/libdl.a go build -ldflags "-s -w -X github.com/drakkan/sftpgo/version.commit=`git describe --always --dirty` -X github.com/drakkan/sftpgo/version.date=`date -u +%FT%TZ`" -o sftpgo 2021-08-01发现template文件旧的,用了一天的时间发现解决。某个标签没有了。
2021-08-03 09:04:31 12.45MB sftpgo openwrt webdav
1