mirror of
https://github.com/static-web-server/static-web-server.git
synced 2026-01-25 05:06:33 +00:00
fix: netbsd 9.2 broken source link used by cross tool for cross-compiling (#513)
It fixes a broken link that contains `libexecinfo.so` needed by the `cross` tool when cross-compiling to NetBSD.
This commit is contained in:
@@ -134,11 +134,10 @@ rustdoc-args = ["--cfg", "docsrs"]
|
||||
[package.metadata.cross.target.x86_64-unknown-netbsd]
|
||||
pre-build = [
|
||||
"mkdir -p /tmp/netbsd",
|
||||
"curl https://cdn.netbsd.org/pub/NetBSD/NetBSD-9.2/amd64/binary/sets/base.tar.xz -O",
|
||||
"curl -fO https://cdn.netbsd.org/pub/NetBSD/NetBSD-9.3/amd64/binary/sets/base.tar.xz",
|
||||
"tar -C /tmp/netbsd -xJf base.tar.xz",
|
||||
"cp /tmp/netbsd/usr/lib/libexecinfo.so /usr/local/x86_64-unknown-netbsd/lib",
|
||||
"rm base.tar.xz",
|
||||
"rm -rf /tmp/netbsd",
|
||||
"rm -rf base.tar.xz /tmp/netbsd",
|
||||
]
|
||||
|
||||
# Cross: Linux ARM64 Musl only
|
||||
|
||||
Reference in New Issue
Block a user