]> git.pld-linux.org Git - packages/php.git/blame - intl-stdc++.patch
Merge 4:5.3.28-7, 4:5.6.4-2 triggers for rpm 4.16
[packages/php.git] / intl-stdc++.patch
CommitLineData
bf071fdd
ER
1
2avoid adding -lstdc++ when linking php-common
3it's needed for ext/intl
4but it requires icu which already links with stdc++
5so just omit PHP_ADD_LIBRARY(stdc++)
6
f7323448
ER
7--- php-7.0.6/build/php.m4~ 2016-05-16 18:31:11.000000000 +0300
8+++ php-7.0.6/build/php.m4 2016-05-16 18:50:34.614991634 +0300
bf071fdd
ER
9@@ -762,7 +762,6 @@
10 if test -z "$php_cxx_done"; then
11 AC_PROG_CXX
12 AC_PROG_CXXCPP
13- PHP_ADD_LIBRARY(stdc++)
14 php_cxx_done=yes
15 fi
16 ])
17--- php-7.0.6/ext/intl/config.m4~ 2016-04-28 21:13:06.000000000 +0300
18+++ php-7.0.6/ext/intl/config.m4 2016-05-16 18:49:53.909531704 +0300
19@@ -6,6 +6,7 @@
20 [ --enable-intl Enable internationalization support])
21
22 if test "$PHP_INTL" != "no"; then
23+ dnl -lstdc++ not needed, will be inherited from icu
24 PHP_SETUP_ICU(INTL_SHARED_LIBADD)
25 PHP_SUBST(INTL_SHARED_LIBADD)
26 PHP_REQUIRE_CXX()
This page took 0.070727 seconds and 4 git commands to generate.