We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a7ccfa commit c10de36Copy full SHA for c10de36
config.m4
@@ -250,7 +250,11 @@ if test "$PHP_MEMCACHED" != "no"; then
250
ORIG_LIBS="$LIBS"
251
252
CFLAGS="$CFLAGS -I$PHP_LIBMEMCACHED_INCDIR"
253
- LIBS="$LIBS -lmemcached -L$PHP_LIBMEMCACHED_DIR/$PHP_LIBDIR"
+
254
+ #
255
+ # Added -lpthread here because AC_TRY_LINK tests on CentOS 6 seem to fail with undefined reference to pthread_once
256
257
+ LIBS="$LIBS -lpthread -lmemcached -L$PHP_LIBMEMCACHED_DIR/$PHP_LIBDIR"
258
259
AC_CACHE_CHECK([whether memcached_instance_st is defined], ac_cv_have_memcached_instance_st, [
260
AC_TRY_COMPILE(
0 commit comments