[OLPC-devel] Re: [PATCH] Don't build xregcomp.c if we don't need it
Rob Landley
rob at landley.net
Mon Aug 28 16:18:23 EDT 2006
On Sunday 27 August 2006 9:07 pm, Jordan Crouse wrote:
> libb/xregcomp.c assumes that <regex.h> exists. Unfortunately, when uclibc
> regex support is disabled, uclibc headers install doesn't copy regex.h to
the
> staging include directory, thereby causing a subsequent busybox compile to
> fail.
>
> The attached patch works around this by only building xregcomp.c when it
> is needed (ie, for awk, sed, less and devfsd). This may not be the most
> correct fix, but it works, and it only touches one file.
>
> Comments, and more intelligent patches welcome.
Applied.
Rob
--
Never bet against the cheap plastic solution.
More information about the Devel
mailing list