diff --git a/SDL2.spec b/SDL2.spec index 0c5931f..a026a25 100644 --- a/SDL2.spec +++ b/SDL2.spec @@ -1,6 +1,6 @@ Name: SDL2 Version: 2.0.16 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Cross-platform multimedia library License: zlib and MIT URL: http://www.libsdl.org/ @@ -106,7 +106,7 @@ export LDFLAGS="%{shrink:%{build_ldflags}}" -DVIDEO_VULKAN=ON \ -DSSE3=OFF \ -DRPATH=OFF \ - -DSDL_STATIC=ON \ + -DSDL_STATIC_PIC=ON \ %ifarch ppc64le -DALTIVEC=OFF \ %endif @@ -141,6 +141,9 @@ install -p -m 644 %{SOURCE1} %{buildroot}%{_includedir}/SDL2/SDL_config.h %{_libdir}/lib*.a %changelog +* Thu Aug 26 2021 Wim Taymans - 2.0.16-3 +- Build with SDL_STATIC_PIC instead of SDL_STATIC + * Thu Aug 26 2021 Wim Taymans - 2.0.16-2 - Disable libdecor until it is added to centos/RHEL9