summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-03-29 15:15:47 +0100
committerRemi Collet <remi@remirepo.net>2019-03-29 15:15:47 +0100
commitfc2b23f976fba2810ea49b6f59c4f23fdbed8a1f (patch)
tree3a5baec1406221ee877578d182fbe0abb395b951
parent1208d792b6aad201e6f156ae5f483774ee25c873 (diff)
ensure php-devel pulls needed lilbraries from php-config output
-rw-r--r--php.spec6
1 files changed, 6 insertions, 0 deletions
diff --git a/php.spec b/php.spec
index 09750b7..66bf8cb 100644
--- a/php.spec
+++ b/php.spec
@@ -428,9 +428,15 @@ Requires: automake
Requires: gcc
Requires: gcc-c++
Requires: libtool
+# see "php-config --libs"
+Requires: krb5-devel%{?_isa}
+Requires: libedit-devel%{?_isa}
+Requires: libxml2-devel%{?_isa}
+Requires: openssl-devel%{?_isa}
%if %{with_libpcre}
Requires: pcre-devel%{?_isa} >= 8.20
%endif
+Requires: zlib-devel%{?_isa}
%if ! %{php_bootstrap}
Requires: %{?scl_prefix}php-pecl-jsonc-devel%{?_isa}
%endif