]> git.pld-linux.org Git - packages/php.git/blame - intl-stdc++.patch
- up to 8.0.7; soname to reflect that this is php 8
[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 @@
a17aa399 20 [Enable internationalization support])])
bf071fdd
ER
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)
a17aa399 26 INTL_COMMON_FLAGS="$ICU_CFLAGS -Wno-write-strings -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1"
This page took 0.101264 seconds and 4 git commands to generate.