strip flag in rpm-build

Xose Vazquez Perez xose at wanadoo.es
Wed Nov 19 17:04:56 UTC 2003


Alexandre Oliva wrote:

> On Nov 19, 2003, Xose Vazquez Perez <xose at wanadoo.es> wrote:

>>brp-strip-static-archive:       strip -g $f

> If you strip a library with -s, IIRC you won't be able to link (ld,
> not ld.so or dlopen) with it any more.  Bad idea for -devel libs.

You are right, I thought brp-strip-static-archive was for static bin files.
But it's for 'static libraries'.

However brp-strip is for only 'ELF binaries' and there is no problem, in
theory, to replace '-g' with '-s'.

--
HTML mails are going to trash automagically






More information about the fedora-devel-list mailing list