packages/lang/php7/patches/1006-fix-gettext.patch
Michael Heimpold cf75d8a0f9 php7: fix bind_textdomain_codeset detection (refs #4250)
The gettext extension is only useful when linked against libintl-full
package, however, the detection did not work sucessfully. This patch
by @Dimazhan fixes this.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-04-11 23:31:37 +02:00

11 lines
267 B
Diff

--- a/ext/gettext/config.m4
+++ b/ext/gettext/config.m4
@@ -32,3 +32,2 @@
)
- LDFLAGS=$O_LDFLAGS
@@ -48,3 +48,4 @@
AC_CHECK_LIB($GETTEXT_CHECK_IN_LIB, bind_textdomain_codeset, [AC_DEFINE(HAVE_BIND_TEXTDOMAIN_CODESET, 1, [ ])])
+ LDFLAGS=$O_LDFLAGS
fi