Created
March 12, 2019 14:49
-
-
Save dstogov/1b55b7697b2a0d83120185cb150c0496 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/acinclude.m4 b/acinclude.m4 | |
index cea6db87ff..59c627c883 100644 | |
--- a/acinclude.m4 | |
+++ b/acinclude.m4 | |
@@ -919,7 +919,7 @@ AC_DEFUN([PHP_NEW_EXTENSION],[ | |
if test "$3" != "shared" && test "$3" != "yes" && test "$4" != "cli"; then | |
dnl ---------------------------------------------- Static module | |
[PHP_]translit($1,a-z_-,A-Z__)[_SHARED]=no | |
- PHP_ADD_SOURCES($ext_dir,$2,$ac_extra,) | |
+ PHP_ADD_SOURCES($ext_dir,$2,$ac_extra -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1,) | |
EXT_STATIC="$EXT_STATIC $1;$ext_dir" | |
if test "$3" != "nocli"; then | |
EXT_CLI_STATIC="$EXT_CLI_STATIC $1;$ext_dir" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment