Skip to content

Commit 48d4573

Browse files
committed
Merge branch 'PHP-7.4'
* PHP-7.4: sodium: fix shared build enchant: fix shared build
2 parents 68e6c15 + 9ef03a9 commit 48d4573

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

ext/enchant/config.m4

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ PHP_ARG_WITH([enchant],
44
[Include Enchant support])])
55

66
if test "$PHP_ENCHANT" != "no"; then
7-
PHP_NEW_EXTENSION(enchant, enchant.c, $ext_shared)
8-
97
PKG_CHECK_MODULES([ENCHANT], [enchant])
108

119
PHP_EVAL_INCLINE($ENCHANT_CFLAGS)
@@ -18,4 +16,7 @@ if test "$PHP_ENCHANT" != "no"; then
1816
AC_DEFINE(HAVE_ENCHANT_BROKER_SET_PARAM, 1, [ ])
1917
AC_DEFINE(ENCHANT_VERSION_STRING, "1.5.x", [ ])
2018
])
19+
20+
PHP_NEW_EXTENSION(enchant, enchant.c, $ext_shared)
21+
PHP_SUBST(ENCHANT_SHARED_LIBADD)
2122
fi

ext/sodium/config.m4

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,7 @@ if test "$PHP_SODIUM" != "no"; then
1010
PHP_EVAL_LIBLINE($LIBSODIUM_LIBS, SODIUM_SHARED_LIBADD)
1111

1212
AC_DEFINE(HAVE_LIBSODIUMLIB, 1, [ ])
13+
1314
PHP_NEW_EXTENSION(sodium, libsodium.c, $ext_shared)
15+
PHP_SUBST(SODIUM_SHARED_LIBADD)
1416
fi

0 commit comments

Comments
 (0)