This commit is contained in:
parent
0fc864a705
commit
b5d3780724
@ -109,7 +109,8 @@ dos2unix CREDITS.txt
|
||||
dos2unix COPYING.txt
|
||||
|
||||
%build
|
||||
%configure \
|
||||
# In this instance, we do want --with-pic because of libSDL2main.a.
|
||||
%configure --with-pic \
|
||||
--disable-rpath \
|
||||
--disable-alsa-shared \
|
||||
--disable-video-directfb
|
||||
@ -119,7 +120,7 @@ make %{?_smp_mflags}
|
||||
make install DESTDIR="%buildroot"
|
||||
rm -f "%buildroot/%_libdir"/*.la
|
||||
# We do not want static libs, but using --disable-static leads to make aborting
|
||||
# halfway through.
|
||||
# halfway through. SDL2main.a we need to keep(?) for the stub symbol.
|
||||
find "%buildroot/%_libdir" -type f -name "*.a" ! -name "libSDL2main.a" -delete
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
|
Loading…
Reference in New Issue
Block a user