Skip to content

Commit bb1d9b5

Browse files
committed
Fix JNI library bundling.
When the new single JNI library introduced in OSGeo#286, the Makefile was not fully updated to copy the new libraries from the .lib dir into the source directory for later copying during the install phase. This patch addresses that.
1 parent 1a1c6ad commit bb1d9b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gdal/swig/java/GNUmakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ generate: makedir ${WRAPPERS}
5656
build: generate ${JAVA_OBJECTS} ${JAVA_MODULES}
5757
ifeq ($(HAVE_LIBTOOL),yes)
5858

59-
if [ -f ".libs/libgdaljni.so" ] ; then \
59+
if [ -f ".libs/libgdalalljni.so" ] ; then \
6060
cp .libs/*.so . ; \
6161
fi
6262

6363
echo "$(wildcard .libs/*.dylib)"
6464

65-
if [ -f ".libs/libgdaljni.dylib" ] ; then \
65+
if [ -f ".libs/libgdalalljni.dylib" ] ; then \
6666
cp .libs/*.dylib . ; \
6767
fi
6868

0 commit comments

Comments
 (0)