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

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Jan 24 20:54:50 UTC 2017


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.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com



More information about the buildroot mailing list