]> git.pld-linux.org Git - packages/php.git/commitdiff
remove static libs
authorElan Ruusamäe <glen@delfi.ee>
Mon, 25 May 2015 08:39:16 +0000 (11:39 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 25 May 2015 08:39:16 +0000 (11:39 +0300)
php.spec

index 6783f869d6b8650b0255503519825f8881f75f98..cfce3c6e617bbd7499ca7799b401e61ce4018391 100644 (file)
--- a/php.spec
+++ b/php.spec
@@ -2727,6 +2727,13 @@ sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_c
 # better solution?
 sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/%{name}/build/acinclude.m4
 
+# somewhy there are installed static versions we don't use
+%if %{with apache1} || %{with apache2}
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/apache*/libphp*.a
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libphp*.a
+%{__rm} $RPM_BUILD_ROOT%{php_extensiondir}/*.a
+%endif
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
This page took 0.162565 seconds and 4 git commands to generate.