tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: cairo symbol check



On Tue, Jun 20, 2017 at 01:13:38PM +0200, Thomas Klausner wrote:
> The symbol extraction part looks like this (from src/check-def.sh):
> 
> if [ "`uname -s`" = "Linux" ]; then
>         get_cairo_syms='( objdump -t "$so" | grep "^[^ ]* [^l.*]*[.]"; objdump -t "$so" | grep "[.]hidden.*\\<cairo"; ) | sed "s/.* //"'

We should use that branch too, it may be better to test for ELF object
format than uname -s.

Martin


Home | Main Index | Thread Index | Old Index