8000 Merge pull request #917 from TysonAndre/add-igbinary-to-include-path-… · jrtkcoder/phpredis@8a0ecbc · GitHub
[go: up one dir, main page]

Skip to content

Commit 8a0ecbc

Browse files
authored
Merge pull request phpredis#917 from TysonAndre/add-igbinary-to-include-path-in-windows
php7 - Properly add igbinary to the include path in windows
2 parents a57d15e + ebc4884 commit 8a0ecbc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

config.w32

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ if (PHP_REDIS != "no") {
1313
}
1414

1515
if (PHP_REDIS_IGBINARY != "no") {
16-
if (CHECK_HEADER_ADD_INCLUDE("igbinary.h", "CFLAGS_REDIS", configure_module_dirname + "\\..\\igbinary")) {
16+
// If igbinary/igbinary.h is found in the pecl dir,
17+
// then add the pecl dir to the list of directories to search for headers. (Makes #include "igbinary/igbinary.h" work)
18+
if (CHECK_HEADER_ADD_INCLUDE("igbinary/igbinary.h", "CFLAGS_REDIS", configure_module_dirname + "\\..")) {
1719

1820
ADD_EXTENSION_DEP("redis", "igbinary");
1921
AC_DEFINE("HAVE_REDIS_IGBINARY", 1);

0 commit comments

Comments
 (0)
0