forked from jengelh/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:
parent
0cf0cfcff5
commit
aa10360887
@ -130,7 +130,7 @@ perl -i -pe 's{\r\n}{\n}g' *.txt README.md
|
|||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
rm -f "%buildroot/%_libdir"/*.la
|
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
|
# 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
|
# 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
|
# 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/pkgconfig/sdl2.pc
|
||||||
%_libdir/cmake/SDL2/
|
%_libdir/cmake/SDL2/
|
||||||
%_libdir/libSDL2main.a
|
%_libdir/libSDL2main.a
|
||||||
|
%_libdir/libSDL2_test.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user