summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/moarvm/Config.in1
-rw-r--r--package/moarvm/moarvm.mk3
2 files changed, 3 insertions, 1 deletions
diff --git a/package/moarvm/Config.in b/package/moarvm/Config.in
index 6bc3090dd..82e4509d3 100644
--- a/package/moarvm/Config.in
+++ b/package/moarvm/Config.in
@@ -7,6 +7,7 @@ config BR2_PACKAGE_MOARVM
# needs AO_fetch_compare_and_swap, not implemented for sparcv9
depends on !BR2_sparc64
select BR2_PACKAGE_LIBUV
+ select BR2_PACKAGE_LIBTOMMATH
select BR2_PACKAGE_LIBATOMIC_OPS
help
Short for "Metamodel On A Runtime", MoarVM is a virtual machine
diff --git a/package/moarvm/moarvm.mk b/package/moarvm/moarvm.mk
index 734c02748..ee58f7660 100644
--- a/package/moarvm/moarvm.mk
+++ b/package/moarvm/moarvm.mk
@@ -10,7 +10,7 @@ MOARVM_SOURCE = MoarVM-$(MOARVM_VERSION).tar.gz
MOARVM_LICENSE = Artistic-2.0
MOARVM_LICENSE_FILES = Artistic2.txt
MOARVM_INSTALL_STAGING = YES
-MOARVM_DEPENDENCIES = host-luajit libuv libatomic_ops
+MOARVM_DEPENDENCIES = host-luajit libuv libtommath libatomic_ops
MOARVM_CONF_OPTS = \
--build=$(GNU_HOST_NAME) \
@@ -21,6 +21,7 @@ MOARVM_CONF_OPTS = \
--prefix="/usr" \
--lua=$(HOST_DIR)/usr/bin/luajit \
--has-libuv \
+ --has-libtommath \
--has-libatomic
ifeq ($(BR2_ENDIAN),"BIG")