- Restore libSDL2main.a, patching it out was not easily possible.
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=103
This commit is contained in:
parent
c172cccaf4
commit
e6a7c21ef8
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 16 08:32:06 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Restore libSDL2main.a, patching it out was not easily possible.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Mar 11 10:23:44 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
Wed Mar 11 10:23:44 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -137,9 +137,11 @@ make %{?_smp_mflags} V=1
|
|||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
rm -f "%buildroot/%_libdir"/*.la
|
rm -f "%buildroot/%_libdir"/*.la
|
||||||
# We do not want static libs, but using --disable-static leads to make aborting
|
rm -fv "%buildroot/%_libdir/libSDL2.a" "%buildroot/%_libdir/libSDL2_test.a"
|
||||||
# halfway through %%build. Now it can be removed though.
|
# Need to keep libSDL2main.a (empty lib), because it is referenced by
|
||||||
rm -f "%buildroot/%_libdir/"*.a
|
# 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
|
||||||
|
# errors down the road).
|
||||||
|
|
||||||
%post -n %lname -p /sbin/ldconfig
|
%post -n %lname -p /sbin/ldconfig
|
||||||
%postun -n %lname -p /sbin/ldconfig
|
%postun -n %lname -p /sbin/ldconfig
|
||||||
@ -157,5 +159,6 @@ rm -f "%buildroot/%_libdir/"*.a
|
|||||||
%_datadir/aclocal/sdl2.m4
|
%_datadir/aclocal/sdl2.m4
|
||||||
%_libdir/pkgconfig/sdl2.pc
|
%_libdir/pkgconfig/sdl2.pc
|
||||||
%_libdir/cmake/SDL2/
|
%_libdir/cmake/SDL2/
|
||||||
|
%_libdir/libSDL2main.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user