add ZEND_EXTRA_LIBS='-lresolv'

This commit is contained in:
Serghey Rodin 2021-10-29 18:39:08 +03:00
commit 474257fd72

View file

@ -22,7 +22,7 @@ This package contains php-cgi for Vesta Control Panel web interface.
%build
./configure --prefix=/usr/local/vesta/php --with-zlib --enable-zip --enable-fpm --with-fpm-user=admin --with-fpm-group=admin --with-mysql --with-mysqli --with-curl --enable-mbstring
make
make ZEND_EXTRA_LIBS='-lresolv'
%install
make install INSTALL_ROOT=%{buildroot} INSTALLDIRS=vendor