- 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>
|
||||
|
||||
|
@ -137,9 +137,11 @@ make %{?_smp_mflags} V=1
|
||||
%install
|
||||
%make_install
|
||||
rm -f "%buildroot/%_libdir"/*.la
|
||||
# We do not want static libs, but using --disable-static leads to make aborting
|
||||
# halfway through %%build. Now it can be removed though.
|
||||
rm -f "%buildroot/%_libdir/"*.a
|
||||
rm -fv "%buildroot/%_libdir/libSDL2.a" "%buildroot/%_libdir/libSDL2_test.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
|
||||
# errors down the road).
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
@ -157,5 +159,6 @@ rm -f "%buildroot/%_libdir/"*.a
|
||||
%_datadir/aclocal/sdl2.m4
|
||||
%_libdir/pkgconfig/sdl2.pc
|
||||
%_libdir/cmake/SDL2/
|
||||
%_libdir/libSDL2main.a
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user