Fix LDFLAGS not passed when building libwebp_jni.so (#1548718)

This commit is contained in:
Sandro Mani 2018-02-27 12:59:01 +01:00
parent 1b75e53be8
commit 28a4267d7e

View File

@ -2,7 +2,7 @@
Name: libwebp
Version: 0.6.1
Release: 7%{?dist}
Release: 8%{?dist}
URL: http://webmproject.org/
Summary: Library and tools for the WebP graphics format
# Additional IPR is licensed as well. See PATENTS file for details
@ -89,7 +89,7 @@ swig -ignoremissing -I../src -java \
-outdir java/com/google/webp \
-o libwebp_java_wrap.c libwebp.swig
gcc %{optflags} -shared \
gcc %{__global_ldflags} %{optflags} -shared \
-I/usr/lib/jvm/java/include \
-I/usr/lib/jvm/java/include/linux \
-I../src \
@ -142,6 +142,9 @@ cp swig/*.jar swig/*.so %{buildroot}/%{_libdir}/%{name}-java/
%changelog
* Tue Feb 27 2018 Sandro Mani <manisandro@gmail.com> - 0.6.1-8
- Fix LDFLAGS not passed when building libwebp_jni.so (#1548718)
* Mon Feb 26 2018 Sandro Mani <manisandro@gmail.com> - 0.6.1-7
- More big-endian fixes