From: Vicente Olivert Riera Date: Wed, 23 Nov 2016 14:39:11 +0000 (+0000) Subject: moarvm: enable optional support for libffi X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a8981b3785d6719bc8a2869a5931ab3abd48a2b4;p=buildroot.git moarvm: enable optional support for libffi Signed-off-by: Vicente Olivert Riera Signed-off-by: Thomas Petazzoni --- 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