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

Re: -Wl,--as-needed considered possibly harmful

This one time, at band camp, Michael Poole said:
> What happens for a user who (however absurd or insane he might be to
> try this with gtk+) tries to link his application statically?
> Perhaps the "absurd and wrong" part is that pkg-config does not
> provide a way to distinguish between use cases, and that the name for
> the current behavior should also be --static-libs rather than --libs,
> but there is a good reason to provide the transitive closure of
> dependencies for a package *somewhere* in pkg-config.

That is supported in pkg-config, but no upstream I've ever met seems to
understand it yet.
|   ,''`.                                            Stephen Gran |
|  : :' :                                        sgran@debian.org |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |

Attachment: signature.asc
Description: Digital signature

Reply to: