Skip to content

Commit

Permalink
ext/enchant: Pass $ENCHANT_LIBS to PHP_CHECK_LIBRARY to fix shared bu…
Browse files Browse the repository at this point in the history
…ilds

Closes phpGH-4216.
  • Loading branch information
hughmcmaster authored and nikic committed Jun 3, 2019
1 parent 72fe2b1 commit d39638a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ext/enchant/config.m4
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d39638a

Please sign in to comment.