Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: reduce unnecessary linking



> And actually on my system it is very hard (near to impossible) to link
> shared module with (dynamic) library. Basically, in
> 
> cc -G -o foo.so ... -lbar
> 
> any -lbar is simply ignored. So, you cannot link zftp with -lsocket while
> omitting -lsocket for main module.

Is there a good way to test for that?

> And in any case - this optimisation should be used only for systems that
> are known to support it.

That's fair.  I'll simulate the old behavior for now.



Messages sorted by: Reverse Date, Date, Thread, Author