forked from I2P_Developers/i2p.i2p

support for Solaris (tested with Solaris 11 x86) mbuild-all.sh: - output correctly formatted file names (tested in Solaris x86, FreeBSD (x86 and x64) and Linux (x86 & x64)) - switch from echo -e to the more portable printf - more error checking, comments debian/patches: refreshed based on changes to core/c/* libjcpuid-x86_64-solaris.so: built in solaris 11 x86 with java 1.7.0_07 and gcc 4.5.2, stripped
32 lines
1.1 KiB
Diff
32 lines
1.1 KiB
Diff
From: Kill Your TV <killyourtv@i2pmail.org>
|
|
Date: Wed, 11 May 2011 00:12:04 +0000
|
|
Subject: jbigi soname
|
|
|
|
The purpose of this patch is to change the path that build_jbigi.sh
|
|
expects to find the source files at. At the same time I'm specifying
|
|
a soname to shut lintian up.
|
|
---
|
|
core/c/jbigi/build_jbigi.sh | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
--- a/core/c/jbigi/build_jbigi.sh
|
|
+++ b/core/c/jbigi/build_jbigi.sh
|
|
@@ -39,7 +39,7 @@
|
|
UNIXTYPE="linux"
|
|
fi
|
|
COMPILEFLAGS="-fPIC -Wall $CFLAGS"
|
|
- INCLUDES="-I. -I../../jbigi/include -I$JAVA_HOME/include -I$JAVA_HOME/include/${UNIXTYPE}"
|
|
+ INCLUDES="-I. -I./jbigi/include -I$JAVA_HOME/include -I$JAVA_HOME/include/${UNIXTYPE}"
|
|
LINKFLAGS="-shared -Wl,-soname,libjbigi.so"
|
|
LIBFILE="libjbigi.so";;
|
|
*)
|
|
@@ -58,7 +58,7 @@
|
|
|
|
echo "Compiling C code..."
|
|
rm -f jbigi.o $LIBFILE
|
|
-$CC -c $COMPILEFLAGS $INCLUDES ../../jbigi/src/jbigi.c || exit 1
|
|
+$CC -c $COMPILEFLAGS $INCLUDES ./jbigi/src/jbigi.c || exit 1
|
|
$CC $LINKFLAGS $INCLUDES -o $LIBFILE jbigi.o $INCLUDELIBS $STATICLIBS || exit 1
|
|
|
|
exit 0
|