]> granicus.if.org Git - php/commitdiff
ext/enchant: Pass $ENCHANT_LIBS to PHP_CHECK_LIBRARY to fix shared builds
authorHugh McMaster <hugh.mcmaster@outlook.com>
Sat, 1 Jun 2019 13:00:32 +0000 (23:00 +1000)
committerNikita Popov <nikita.ppv@gmail.com>
Mon, 3 Jun 2019 07:18:51 +0000 (09:18 +0200)
Closes GH-4216.

ext/enchant/config.m4

index c00e5689afc95661e59d6eb830ecc3e748c8f6cc..cfde0f77b61b40e814561e22e6a02aa1cafca0d2 100644 (file)
@@ -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)