diff options
-rw-r--r-- | php-pecl-xdebug3.spec | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/php-pecl-xdebug3.spec b/php-pecl-xdebug3.spec index e1b53fc..eca64fb 100644 --- a/php-pecl-xdebug3.spec +++ b/php-pecl-xdebug3.spec @@ -219,7 +219,7 @@ for mod in simplexml; do fi done -: check if NTS build extension can be loaded +: check if NTS extension can be loaded %{__php} \ --no-php-ini \ --define zend_extension=%{buildroot}%{php_extdir}/%{pecl_name}.so \ @@ -228,6 +228,11 @@ done : check if provided config file is usable %{__php} \ --no-php-ini \ + -d extension_dir=%{buildroot}%{php_extdir} \ + -c %{buildroot}%{php_inidir}/%{ini_name} -v +%{__php} \ + --no-php-ini \ + -d extension_dir=%{buildroot}%{php_extdir} \ -c %{buildroot}%{php_inidir}/%{ini_name} -v 2>err.log \ | grep 'with Xdebug v%{upstream_version}%{?upstream_prever}' if [ -s err.log ]; then @@ -236,7 +241,7 @@ if [ -s err.log ]; then fi %if %{with_zts} -: check if ZTS build extension can be loaded +: check if ZTS extension can be loaded %{__ztsphp} \ --no-php-ini \ --define zend_extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so \ |