micropython-lib: Indicate that pcre is a runtime dependency
authorChris Packham <judge.packham@gmail.com>
Wed, 25 Jan 2017 07:24:47 +0000 (20:24 +1300)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 25 Jan 2017 21:38:30 +0000 (22:38 +0100)
libpcre is needed at runtime not a buildtime. Indicate this in Config.in
and remove MICROPYTHON_LIB_DEPENDENCIES.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/micropython-lib/Config.in
package/micropython-lib/micropython-lib.mk

index be8c875626a732044935cc2f3df989b08b9180e4..599af7797bd821632ea41f5e507c84adf134834b 100644 (file)
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_MICROPYTHON_LIB
        bool "micropython-lib"
-       select BR2_PACKAGE_PCRE
+       select BR2_PACKAGE_PCRE # runtime
        depends on BR2_PACKAGE_MICROPYTHON
        help
          Core Python libraries ported to MicroPython.
index 8c8b1426f0b9aa8b1984ee00cc3c0258a6dafb41..066572e5cf79e17e6cbd49b851fd380ce08ad4a7 100644 (file)
@@ -8,7 +8,6 @@ MICROPYTHON_LIB_VERSION = v1.8.6
 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) \