Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 37a7c22

Browse files
committed
Merge pull request phpredis#268 from sitnikov/master
Fix include path for igbinary support
2 parents 70430fb + 2b0cd77 commit 37a7c22

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

config.m4

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,12 @@ dnl Check for igbinary
4949
AC_MSG_RESULT([enabled])
5050
AC_DEFINE(HAVE_REDIS_IGBINARY,1,[Whether redis igbinary serializer is enabled])
5151
IGBINARY_INCLUDES="-I$igbinary_inc_path"
52+
IGBINARY_EXT_DIR="$igbinary_inc_path/ext"
5253
ifdef([PHP_ADD_EXTENSION_DEP],
5354
[
5455
PHP_ADD_EXTENSION_DEP(redis, igbinary)
5556
])
57+
PHP_ADD_INCLUDE($IGBINARY_EXT_DIR)
5658
else
5759
IGBINARY_INCLUDES=""
5860
AC_MSG_RESULT([disabled])

0 commit comments

Comments
 (0)