[Buildroot] [PATCH 2/3] micropython-lib: depend on pcre

Chris Packham judge.packham at gmail.com
Wed Jan 25 07:13:02 UTC 2017


On Wed, Jan 25, 2017 at 9:54 AM, Thomas Petazzoni
<thomas.petazzoni at free-electrons.com> wrote:
> Hello,
>
> On Tue, 24 Jan 2017 23:14:22 +1300, Chris Packham wrote:
>> 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.
>
> If it's only a runtime dependency, then why do you have
> "MICROPYTHON_LIBS_DEPENDENCIES = pcre" ? Selecting it in Config.in is
> sufficient to ensure that it will be built "at some point" during the
> build. In such cases, we normally do just:
>
>         select BR2_PACKAGE_PCRE # runtime
>
> and that's it.

Good point. I didn't look for any other examples of runtime
dependencies. As Peter has already applied this one I'll send another
to clarify that this is a runtime dependency and not a build time one.



More information about the buildroot mailing list