cmake cvs and runtime path resolution

Brad King brad.king at kitware.com
Thu Feb 21 21:02:41 CET 2008


Thiago Macieira wrote:
> You could also simply read the ELF header from inside cmake. That would 
> make the process A LOT faster. Unlike chrpath, which actually modifies 
> the target executable, this is simply reading (load header, load 
> sections, find the DYNAMIC section, find DT_SONAME in there, then read 
> the string at the address on the STRTAB section). /usr/include/elf.h is 
> present in all platforms.

I'm actually working on that right now :)

-Brad


More information about the Kde-buildsystem mailing list