1
0
forked from GitHub/gf-core

Fix build problems, bump versiom to gf-3.10.4-git

debian/rules and bin/build-binary-dist.sh needed to be adepted to changes
in how INSTALLPATH is used in src/runtime/java/Makefile.
This commit is contained in:
Thomas Hallgren
2019-11-18 15:54:44 +01:00
parent 28f53e801a
commit 14e5528544
4 changed files with 11 additions and 5 deletions

View File

@@ -53,9 +53,9 @@ fi
if which >/dev/null javac && which >/dev/null jar ; then
pushd src/runtime/java
rm -f libjpgf.la # In case it contains the wrong INSTALL_PATH
if make CFLAGS="-I$extrainclude -L$extralib" INSTALL_PATH="$prefix/lib"
if make CFLAGS="-I$extrainclude -L$extralib" INSTALL_PATH="$prefix"
then
make INSTALL_PATH="$destdir$prefix/lib" install
make INSTALL_PATH="$destdir$prefix" install
else
echo "*** Skipping the Java binding because of errors"
fi