From: Elan Ruusamäe Date: Sat, 15 Jun 2019 17:56:07 +0000 (+0300) Subject: force use of system libtool X-Git-Tag: auto/th/php74-7.4.0-1^2~23 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fphp.git;a=commitdiff_plain;h=58752a4bf92853bb7c45b6ef5b475be26a9fc6ea force use of system libtool --- diff --git a/php.spec b/php.spec index 0d39b62..c7f8be8 100644 --- a/php.spec +++ b/php.spec @@ -2203,8 +2203,13 @@ export EXTENSION_DIR="%{php_extensiondir}" if [ ! -f _built-conf ]; then # now remove Makefile copies rm -f Makefile.{cgi-fcgi,fpm,cli,apxs1,apxs2,litespeed,phpdbg,milter} + + # Force use of system libtool: + mv build/libtool.m4 build/libtool.m4.saved + cat %{_aclocaldir}/{libtool,ltoptions,ltsugar,ltversion,lt~obsolete}.m4 > build/libtool.m4 %{__libtoolize} %{__aclocal} + cp -f /usr/share/automake/config.* . ./buildconf --force touch _built-conf