diff --git a/sdl12-compat.spec b/sdl12-compat.spec index c5c2921..e81b510 100644 --- a/sdl12-compat.spec +++ b/sdl12-compat.spec @@ -122,6 +122,11 @@ this layer. mv %{buildroot}/%{_includedir}/SDL/SDL_config.h %{buildroot}/%{_includedir}/SDL/SDL_config-%{_arch}.h install -m644 %{SOURCE1} %{buildroot}/%{_includedir}/SDL/SDL_config.h +%if ! %{with static} +# Delete leftover static files +rm -rf %{buildroot}%{_libdir}/*.a +%endif + %files %license LICENSE.txt