diff --git a/SDL2.spec b/SDL2.spec index a026a25..28784db 100644 --- a/SDL2.spec +++ b/SDL2.spec @@ -1,6 +1,6 @@ Name: SDL2 Version: 2.0.16 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Cross-platform multimedia library License: zlib and MIT URL: http://www.libsdl.org/ @@ -106,6 +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 \ @@ -141,6 +142,10 @@ install -p -m 644 %{SOURCE1} %{buildroot}%{_includedir}/SDL2/SDL_config.h %{_libdir}/lib*.a %changelog +* Thu Aug 26 2021 Wim Taymans - 2.0.16-4 +- Build with SDL_STATIC_PIC and SDL_STATIC to actually make the + static version of SDL2 + * Thu Aug 26 2021 Wim Taymans - 2.0.16-3 - Build with SDL_STATIC_PIC instead of SDL_STATIC