Skip to content

Commit c7df904

Browse files
committed
#46: Fix config.m4
1 parent c7e9273 commit c7df904

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

config.m4

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ if test "$PHP_ASYNC" = "yes"; then
1111
dnl Register extension source files.
1212
PHP_NEW_EXTENSION([async],
1313
[async.c coroutine.c scope.c scheduler.c exceptions.c iterator.c async_API.c \
14-
context.c \
14+
context.c libuv_reactor.c \
1515
internal/allocator.c internal/circular_buffer.c \
1616
zend_common.c],
1717
$ext_shared)
@@ -72,8 +72,8 @@ if test "$PHP_ASYNC" = "yes"; then
7272

7373
dnl Link against needed libraries.
7474
PHP_ADD_LIBRARY([uv], 1, ASYNC_SHARED_LIBADD)
75+
PHP_SUBST(ASYNC_SHARED_LIBADD)
7576

76-
dnl Add libuv-specific reactor code.
77-
PHP_ADD_SOURCES([ext/async], [libuv_reactor.c])
77+
dnl Install libuv-specific reactor headers.
7878
PHP_INSTALL_HEADERS([ext/async], [libuv_reactor.h])
7979
fi

0 commit comments

Comments
 (0)