[Buildroot] [PATCH] Fix matchbox build

Peter Korsgaard jacmet at uclibc.org
Mon Oct 27 15:15:09 UTC 2008

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:


 Thomas>  * libmatchbox and matchbox-panel were using a now legacy index()
 Thomas>    function, which is not part of every uClibc build nowadays
 Thomas>    (depending on the configuration). As this function doesn't exist
 Thomas>    anymore in all builds, use strchr() instead, which is the
 Thomas>    recommended replacement for index(). Two patches, one for
 Thomas>    libmatchbox, one for matchbox-panel, are added to fix this problem.

 Thomas>    Closes bug http://bugs.uclibc.org/view.php?id=5484

Thanks! I had a quick look at it as well, but hadn't gotten around to
do it yet.

Don't forget to send to patches upstream.

 Thomas>  * Do not override the CFLAGS and LDFLAGS values, they are already set
 Thomas>    by TARGET_CONFIGURE_OPTS. It caused build failures.

 Thomas>  * Mangle the library paths in the .la file of libmatchbox, after
 Thomas>    installation in the staging dir.

 Thomas> It would probably be nice to switch Matchbox over to the new
 Thomas> Makefile.autotools.in.

Exactly. It seems pretty standard auto*.


Bye, Peter Korsgaard

More information about the buildroot mailing list