From a8981b3785d6719bc8a2869a5931ab3abd48a2b4 Mon Sep 17 00:00:00 2001 From: Vicente Olivert Riera Date: Wed, 23 Nov 2016 14:39:11 +0000 Subject: [PATCH] moarvm: enable optional support for libffi Signed-off-by: Vicente Olivert Riera Signed-off-by: Thomas Petazzoni --- package/moarvm/moarvm.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/moarvm/moarvm.mk b/package/moarvm/moarvm.mk index 80bd19c92d..d09117471f 100644 --- a/package/moarvm/moarvm.mk +++ b/package/moarvm/moarvm.mk @@ -25,6 +25,11 @@ MOARVM_CONF_OPTS = \ --has-libtommath \ --has-libatomic +ifeq ($(BR2_PACKAGE_LIBFFI),y) +MOARVM_CONF_OPTS += --has-libffi +MOARVM_DEPENDENCIES += libffi +endif + ifeq ($(BR2_ENDIAN),"BIG") MOARVM_CONF_OPTS += --big-endian endif -- 2.30.2