diff --git a/kbuildx/scripts/netbsd-build.sh b/kbuildx/scripts/netbsd-build.sh index a5f74bd..37c7af0 100755 --- a/kbuildx/scripts/netbsd-build.sh +++ b/kbuildx/scripts/netbsd-build.sh @@ -18,6 +18,9 @@ gnuctf=$(find /usr/pkg -name 'libgnuctf.so.2' -type f 2>/dev/null | head -n 1 || if [ -n "$gnuctf" ]; then export LD_LIBRARY_PATH="$(dirname "$gnuctf"):$LD_LIBRARY_PATH" fi + +ln -s /usr/lib/libgnuctf.so.3 /usr/lib/libgnuctf.so.2 || echo "failed to create symlink for libgnuctf.so.2; continuing anyway" + export CC='gcc -B/usr/pkg/bin/' export HOST_CC='gcc -B/usr/pkg/bin/' work=/root/kbuildx diff --git a/kbuildx/scripts/netbsd-deps.sh b/kbuildx/scripts/netbsd-deps.sh index 036223a..1d323d9 100755 --- a/kbuildx/scripts/netbsd-deps.sh +++ b/kbuildx/scripts/netbsd-deps.sh @@ -86,4 +86,5 @@ if command -v mozilla-rootcerts >/dev/null 2>&1; then elif [ -x /usr/pkg/sbin/mozilla-rootcerts ]; then /usr/pkg/sbin/mozilla-rootcerts install fi + git --version