aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Chris Packham <judge.packham@gmail.com>2017-01-24 23:14:22 +1300
committerGravatar Peter Korsgaard <peter@korsgaard.com>2017-01-24 17:29:37 +0100
commit2b4d4db2a296859fd509978003c4fa41e4073644 (patch)
treeb755d2e36456caad0150a560c4dead49072514ad
parent7ef4993889f70f25c27cf4bd101c7af57bc76c07 (diff)
downloadbuildroot-2b4d4db2a296859fd509978003c4fa41e4073644.tar.gz
buildroot-2b4d4db2a296859fd509978003c4fa41e4073644.tar.bz2
micropython-lib: needs pcre
The micropython libs load libpcre dynamically using the foreign function interface (libffi). Without pcre the build will succeed but at run time anything that uses the 're' module will have issues. Signed-off-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/micropython-lib/Config.in1
-rw-r--r--package/micropython-lib/micropython-lib.mk1
2 files changed, 2 insertions, 0 deletions
diff --git a/package/micropython-lib/Config.in b/package/micropython-lib/Config.in
index a7e017be76..be8c875626 100644
--- a/package/micropython-lib/Config.in
+++ b/package/micropython-lib/Config.in
@@ -1,5 +1,6 @@
config BR2_PACKAGE_MICROPYTHON_LIB
bool "micropython-lib"
+ select BR2_PACKAGE_PCRE
depends on BR2_PACKAGE_MICROPYTHON
help
Core Python libraries ported to MicroPython.
diff --git a/package/micropython-lib/micropython-lib.mk b/package/micropython-lib/micropython-lib.mk
index a0b533a53f..478d6d690d 100644
--- a/package/micropython-lib/micropython-lib.mk
+++ b/package/micropython-lib/micropython-lib.mk
@@ -8,6 +8,7 @@ MICROPYTHON_LIB_VERSION = v1.8.2
MICROPYTHON_LIB_SITE = $(call github,micropython,micropython-lib,$(MICROPYTHON_LIB_VERSION))
MICROPYTHON_LIB_LICENSE = Python software foundation license v2 (some modules), MIT (everything else)
MICROPYTHON_LIB_LICENSE_FILES = LICENSE
+MICROPYTHON_LIB_DEPENDENCIES = pcre
define MICROPYTHON_LIB_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \