Fix build without static libraries
This commit is contained in:
parent
6bf37b39d6
commit
b93a2e442c
@ -122,6 +122,11 @@ this layer.
|
|||||||
mv %{buildroot}/%{_includedir}/SDL/SDL_config.h %{buildroot}/%{_includedir}/SDL/SDL_config-%{_arch}.h
|
mv %{buildroot}/%{_includedir}/SDL/SDL_config.h %{buildroot}/%{_includedir}/SDL/SDL_config-%{_arch}.h
|
||||||
install -m644 %{SOURCE1} %{buildroot}/%{_includedir}/SDL/SDL_config.h
|
install -m644 %{SOURCE1} %{buildroot}/%{_includedir}/SDL/SDL_config.h
|
||||||
|
|
||||||
|
%if ! %{with static}
|
||||||
|
# Delete leftover static files
|
||||||
|
rm -rf %{buildroot}%{_libdir}/*.a
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user