From: Charles R. Portwood II Date: Wed, 13 Jul 2016 12:59:33 +0000 (-0500) Subject: Updating config.w32 to correctly add Argon2RefLib to LIBS flag X-Git-Tag: php-7.2.0alpha1~1316^2^2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=98722089a0a0f44f7540e7e0f6da0fa1dd56b1fc;p=php Updating config.w32 to correctly add Argon2RefLib to LIBS flag --- diff --git a/ext/standard/config.w32 b/ext/standard/config.w32 index c24f8aa63d..dc42ebfa51 100644 --- a/ext/standard/config.w32 +++ b/ext/standard/config.w32 @@ -4,10 +4,9 @@ ARG_WITH("argon2", "Argon2 support", "no"); if (PHP_ARGON2 != "no") { - if (CHECK_LIB("Argon2Ref.lib", "argon2", PHP_ARGON2) - && CHECK_HEADER_ADD_INCLUDE("argon2.h", "CFLAGS_ARGON2")) { + if (CHECK_LIB("Argon2Ref.lib", null, PHP_ARGON2) + && CHECK_HEADER_ADD_INCLUDE("argon2.h", "CFLAGS")) { AC_DEFINE('HAVE_ARGON2LIB', 1); - EXTENSION("argon2", null, false); } else { WARNING("Argon2 not enabled; libaries and headers not found"); }