From: Hugh McMaster Date: Sat, 1 Jun 2019 13:00:32 +0000 (+1000) Subject: ext/enchant: Pass $ENCHANT_LIBS to PHP_CHECK_LIBRARY to fix shared builds X-Git-Tag: php-7.4.0alpha1~116 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d39638a4ac9a66ed1382e3243fa7e56746612b65;p=php ext/enchant: Pass $ENCHANT_LIBS to PHP_CHECK_LIBRARY to fix shared builds Closes GH-4216. --- diff --git a/ext/enchant/config.m4 b/ext/enchant/config.m4 index c00e5689af..cfde0f77b6 100644 --- a/ext/enchant/config.m4 +++ b/ext/enchant/config.m4 @@ -15,6 +15,8 @@ if test "$PHP_ENCHANT" != "no"; then [ AC_DEFINE(HAVE_ENCHANT_BROKER_SET_PARAM, 1, [ ]) AC_DEFINE(ENCHANT_VERSION_STRING, "1.5.x", [ ]) + ], [ ], [ + $ENCHANT_LIBS ]) PHP_NEW_EXTENSION(enchant, enchant.c, $ext_shared)