Replying to jdemeyer:
Please explain the rationale for this patch.
Is this so hard to understand?
The comment you linked to does not explain this.
It does, as does the further discussion on this ticket (and #9896).
And the following sentence is also very vague: "
This is inefficient, isn't nice or at least confusing and can (actually does) cause trouble.
Why specify libraries to link to if they aren't used / needed at all?
This is simply confusing, obviously inefficient, and causes trouble if the (unused) libraries the extension modules (i.e., their .so
s) refer to get updated, since they'll still pull in the old, obsolete ones (which may also have already been deleted, in which case at least less weird errors are raised), for no reason.
As mentioned earlier and elsewhere, the eclib spkg is a special case anyway (also regarding the list of libraries its modules are linked to; cf. my comment above).