Skip to content

Commit 02cc622

Browse files
committed
ext/ffi: Pass $FFI_LIBS to PHP_CHECK_LIBRARY to fix shared builds
1 parent e720fb7 commit 02cc622

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/ffi/config.m4

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ if test "$PHP_FFI" != "no"; then
1515
AC_DEFINE(HAVE_FFI,1,[ Have ffi support ])
1616
], [
1717
AC_MSG_ERROR(FFI module requires libffi)
18+
], [
19+
$FFI_LIBS
1820
])
1921

2022
AC_CACHE_CHECK([for fastcall calling convention], ac_cv_ffi_fastcall,

0 commit comments

Comments
 (0)