Load native library from the correct location

Resolves: rhbz#1994935
This commit is contained in:
Marian Koncek 2021-08-18 17:49:34 +02:00
parent 5f13dce508
commit 931c4c2679

View File

@ -68,7 +68,7 @@ ln -s %{java_home}/include/jni.h src/main/native/inc_linux
ln -s %{java_home}/include/linux/jni_md.h src/main/native/inc_linux ln -s %{java_home}/include/linux/jni_md.h src/main/native/inc_linux
# Set the JNI path # Set the JNI path
sed -i 's,@LIBDIR@,%{libdir},' \ sed -i 's,@LIBDIR@,%{_libdir},' \
src/main/java/org/fusesource/jansi/internal/JansiLoader.java src/main/java/org/fusesource/jansi/internal/JansiLoader.java
%build %build
@ -106,6 +106,8 @@ cp -p src/main/native/libjansi.so %{buildroot}%{_libdir}/%{name}
* Wed Aug 18 2021 Marian Koncek <mkoncek@redhat.com> - 2.3.3-4 * Wed Aug 18 2021 Marian Koncek <mkoncek@redhat.com> - 2.3.3-4
- Avoid possible NullPointerException - Avoid possible NullPointerException
- Resolves: rhbz#1993889 - Resolves: rhbz#1993889
- Load native library from the correct location
- Resolves: rhbz#1994935
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.3.3-3 * Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.3.3-3
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags