source:
debian/patches/0002-jbigi-soname.patch
@
816149ef
Last change on this file since 816149ef was 816149ef, checked in by , 8 years ago | |
---|---|
|
|
File size: 1.2 KB |
-
core/c/jbigi/build_jbigi.sh
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(-) diff --git a/core/c/jbigi/build_jbigi.sh b/core/c/jbigi/build_jbigi.sh index b1a68dd..99b31e4 100755
a b SunOS*|OpenBSD*|NetBSD*|*FreeBSD*|Linux*) 39 39 UNIXTYPE="linux" 40 40 fi 41 41 COMPILEFLAGS="-fPIC -Wall" 42 INCLUDES="-I. -I. ./../jbigi/include -I$JAVA_HOME/include -I$JAVA_HOME/include/${UNIXTYPE}"42 INCLUDES="-I. -I./jbigi/include -I$JAVA_HOME/include -I$JAVA_HOME/include/${UNIXTYPE}" 43 43 LINKFLAGS="-shared -Wl,-soname,libjbigi.so" 44 44 LIBFILE="libjbigi.so";; 45 45 *) … … fi 58 58 59 59 echo "Compiling C code..." 60 60 rm -f jbigi.o $LIBFILE 61 $CC -c $COMPILEFLAGS $INCLUDES . ./../jbigi/src/jbigi.c || exit 161 $CC -c $COMPILEFLAGS $INCLUDES ./jbigi/src/jbigi.c || exit 1 62 62 $CC $LINKFLAGS $INCLUDES -o $LIBFILE jbigi.o $INCLUDELIBS $STATICLIBS || exit 1 63 63 64 64 exit 0
Note: See TracBrowser
for help on using the repository browser.