From d39638a4ac9a66ed1382e3243fa7e56746612b65 Mon Sep 17 00:00:00 2001 From: Hugh McMaster Date: Sat, 1 Jun 2019 23:00:32 +1000 Subject: [PATCH] ext/enchant: Pass $ENCHANT_LIBS to PHP_CHECK_LIBRARY to fix shared builds Closes GH-4216. --- ext/enchant/config.m4 | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.40.0