]> git.pld-linux.org Git - packages/php.git/commitdiff
force use of system libtool
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 15 Jun 2019 17:56:07 +0000 (20:56 +0300)
committerElan Ruusamäe <glen@pld-linux.org>
Sat, 15 Jun 2019 18:01:52 +0000 (21:01 +0300)
php.spec

index 0d39b6276d9b5756d7609b7159f6bb86b333fa56..c7f8be8761bfb26e3cb78f28bb4ca797fd3540e9 100644 (file)
--- 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
This page took 0.470272 seconds and 4 git commands to generate.