From 9ea6eed22fa43d0b71bc2b85d1b0ec2d314035e0 Mon Sep 17 00:00:00 2001
From: jrandom <jrandom>
Date: Sat, 21 Aug 2004 09:04:24 +0000
Subject: [PATCH] added support for local build (saving as jbigi)

---
 core/c/build.sh       | 5 +++--
 core/c/jbigi/build.sh | 8 ++++----
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/core/c/build.sh b/core/c/build.sh
index ca2826dcf2..6b7ece78a3 100644
--- a/core/c/build.sh
+++ b/core/c/build.sh
@@ -4,10 +4,11 @@
 (cd jbigi ; sh build.sh ; cd ..)
 
 mkdir -p t/freenet/support/CPUInformation/
-cp jcpuid/lib/freenet/support/CPUInformation/*jcpuid-* t/freenet/support/CPUInformation/
+cp jcpuid/lib/freenet/support/CPUInformation/*jcpuid* t/freenet/support/CPUInformation/
 
 mkdir -p t/net/i2p/util/
-cp jbigi/lib/net/i2p/util/*jbigi-* t/net/i2p/util/
+cp jbigi/lib/net/i2p/util/*jbigi* t/net/i2p/util/
+cp jbigi/lib/*jbigi* t/
 
 (cd t ; jar cf ../jbigi.jar . ; cd ..)
 
diff --git a/core/c/jbigi/build.sh b/core/c/jbigi/build.sh
index 20a3f4acf9..2e1852571c 100644
--- a/core/c/jbigi/build.sh
+++ b/core/c/jbigi/build.sh
@@ -29,13 +29,13 @@ make
 sh ../../build_jbigi.sh static
 case `uname -sr` in
 MINGW*)
-	cp jbigi.dll ../../lib/net/i2p/util/jbigi-windows-x86.dll;;
+	cp jbigi.dll ../../lib/jbigi;;
 CYGWIN*)
-	cp jbigi.dll ../../lib/net/i2p/util/jbigi-windows-x86.dll;;
+	cp jbigi.dll ../../lib/jbigi;;
 Linux*)
-	cp libjbigi.so ../../lib/net/i2p/util/libjbigi-linux-x86.so;;
+	cp libjbigi.so ../../lib/jbigi;;
 FreeBSD*)
-	cp libjbigi.so ../../lib/net/i2p/util/libjbigi-freebsd-x86.so;;
+	cp libjbigi.so ../../lib/jbigi;;
 esac
 cd ..
 cd ..
-- 
GitLab