|
@@ -429,12 +429,13 @@ config BR2_PACKAGE_PHP_EXT_XSL
|
|
|
|
|
|
config BR2_PACKAGE_PHP_EXT_FFI
|
|
|
bool "FFI"
|
|
|
+ depends on !BR2_STATIC_LIBS
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
|
select BR2_PACKAGE_LIBFFI
|
|
|
help
|
|
|
Foreign Function Interface support
|
|
|
|
|
|
-comment "PHP FFI extension needs a toolchain w/ threads"
|
|
|
- depends on !BR2_TOOLCHAIN_HAS_THREADS
|
|
|
+comment "PHP FFI extension needs a toolchain w/ threads, dynamic library"
|
|
|
+ depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|
|
|
|
|
|
endmenu
|