]> git.pld-linux.org Git - packages/php.git/commitdiff
fix building without apache support
authorJacek Konieczny <j.konieczny@eggsoft.pl>
Thu, 29 Sep 2016 07:11:17 +0000 (09:11 +0200)
committerJacek Konieczny <j.konieczny@eggsoft.pl>
Thu, 29 Sep 2016 07:11:17 +0000 (09:11 +0200)
php.spec

index 8671a8049c058cb48e3f5ba8da968e3beb6c79e9..5f8bb3a46f3ff051506f0f7505c77701bbf8ac91 100644 (file)
--- a/php.spec
+++ b/php.spec
@@ -3065,7 +3065,9 @@ fi
 %dir %{_sysconfdir}
 %dir %{_sysconfdir}/conf.d
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
+%if %{with apache1} || %{with apache2}
 %attr(755,root,root) %{_libdir}/libphp_common-*.so
+%endif
 %dir %{php_extensiondir}
 
 %doc ext/session/mod_files.sh
@@ -3075,7 +3077,11 @@ fi
 %doc CODING_STANDARDS README.{EXT_SKEL,PARAMETER_PARSING_API,SELF-CONTAINED-EXTENSIONS,STREAMS,SUBMITTING_PATCH,TESTING,TESTING2,UNIX-BUILD-SYSTEM,input_filter}
 %attr(755,root,root) %{_bindir}/phpize
 %attr(755,root,root) %{_bindir}/php-config
+%if %{with apache1} || %{with apache2}
 %attr(755,root,root) %{_libdir}/libphp_common.so
+%else
+%attr(755,root,root) %{_libdir}/libphp_common.a
+%endif
 %{_libdir}/libphp_common.la
 %{_includedir}/php
 %{_libdir}/%{name}/build
This page took 0.374065 seconds and 4 git commands to generate.