From 58752a4bf92853bb7c45b6ef5b475be26a9fc6ea Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Sat, 15 Jun 2019 20:56:07 +0300 Subject: [PATCH] force use of system libtool --- php.spec | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.44.0