projects
/
php
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ba10b8
)
enchant: fix shared build
author
Remi Collet
<remi@php.net>
Tue, 21 May 2019 14:14:12 +0000
(16:14 +0200)
committer
Remi Collet
<remi@php.net>
Tue, 21 May 2019 14:14:52 +0000
(16:14 +0200)
ext/enchant/config.m4
patch
|
blob
|
history
diff --git
a/ext/enchant/config.m4
b/ext/enchant/config.m4
index cd2765c7ef3ddb50912bb23db10c97530d658ab2..c00e5689afc95661e59d6eb830ecc3e748c8f6cc 100644
(file)
--- a/
ext/enchant/config.m4
+++ b/
ext/enchant/config.m4
@@
-4,8
+4,6
@@
PHP_ARG_WITH([enchant],
[Include Enchant support])])
if test "$PHP_ENCHANT" != "no"; then
- PHP_NEW_EXTENSION(enchant, enchant.c, $ext_shared)
-
PKG_CHECK_MODULES([ENCHANT], [enchant])
PHP_EVAL_INCLINE($ENCHANT_CFLAGS)
@@
-18,4
+16,7
@@
if test "$PHP_ENCHANT" != "no"; then
AC_DEFINE(HAVE_ENCHANT_BROKER_SET_PARAM, 1, [ ])
AC_DEFINE(ENCHANT_VERSION_STRING, "1.5.x", [ ])
])
+
+ PHP_NEW_EXTENSION(enchant, enchant.c, $ext_shared)
+ PHP_SUBST(ENCHANT_SHARED_LIBADD)
fi