[OE-core] [PATCH] classes/insane: fix libdir check regexes

Paul Eggleton paul.eggleton at linux.intel.com
Wed Jul 3 15:09:55 UTC 2013


On Wednesday 03 July 2013 15:35:15 Burton, Ross wrote:
> On 3 July 2013 14:40, Paul Eggleton <paul.eggleton at linux.intel.com> wrote:
> > +    lib_re = re.compile("^/lib.*\.so[0-9.]*$")
> > +    exec_re = re.compile("^%s.*/lib.*\.so[0-9.]*$" % exec_prefix)
> 
> I'd been meaning to double-check this assumption since the discussion
> yesterday, and I'm glad I did.  My Debian machine has these files in
> /usr/lib that don't match that regex:
> 
> libatlas.so.3gf
> libblas.so.3gf
> libcblas.so.3gf
> libf77blas.so.3gf
> liblapack_atlas.so.3gf
> liblapack.so.3gf
> libmozjs.so.10d
> libnspr4.so.0d
> libnss3.so.1d
> libnssutil3.so.1d
> libplc4.so.0d
> libplds4.so.0d
> libsmime3.so.1d
> libssl3.so.1d
> 
> How about ^lib.+\.so(\..+)?$ to match a library filename?

Hmm, right. That looks reasonable. v2 sent.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the Openembedded-core mailing list