From 4694a665d23a39854cbb978a9bdbb566a2a90585 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Wed, 9 Mar 2022 14:49:44 +0100 Subject: [PATCH] Adhere to standard naming convention of Windows libs for PHP The memcached library is usually named libmemcached.lib, so we should check for this name, too. --- config.w32 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.w32 b/config.w32 index 7ca3a498..51aa3bd0 100644 --- a/config.w32 +++ b/config.w32 @@ -8,7 +8,7 @@ ARG_ENABLE('memcached-json', 'whether to enable memcached json serializer suppor if (PHP_MEMCACHED == "yes") { - if (!CHECK_LIB("memcached.lib", "memcached", PHP_MEMCACHED)) { + if (!CHECK_LIB("memcached.lib;libmemcached.lib", "memcached", PHP_MEMCACHED)) { ERROR("memcached: library 'memcached' not found"); }