SHA256
1
0
forked from pool/SDL2

ship libSDL2_test.a needed by SDL2_net

OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=132
This commit is contained in:
Jan Engelhardt 2022-08-20 08:03:58 +00:00 committed by Git OBS Bridge
parent 0cf0cfcff5
commit aa10360887

View File

@ -130,7 +130,7 @@ perl -i -pe 's{\r\n}{\n}g' *.txt README.md
%install
%make_install
rm -f "%buildroot/%_libdir"/*.la
rm -fv "%buildroot/%_libdir/libSDL2.a" "%buildroot/%_libdir/libSDL2_test.a"
rm -fv "%buildroot/%_libdir/libSDL2.a"
# Need to keep libSDL2main.a (empty lib), because it is referenced by
# sdl2-config.cmake, and it seems like that .cmake file cannot be edited to
# make SDL2::SDL2main a phony target with no file (just leads to more Makefile
@ -153,5 +153,6 @@ rm -fv "%buildroot/%_libdir/libSDL2.a" "%buildroot/%_libdir/libSDL2_test.a"
%_libdir/pkgconfig/sdl2.pc
%_libdir/cmake/SDL2/
%_libdir/libSDL2main.a
%_libdir/libSDL2_test.a
%changelog