https://issues.dlang.org/show_bug.cgi?id=15574
John Colvin <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|wrong order of linker |wrong order of linker |arguments breaks with |arguments |as-needed | --- Comment #3 from John Colvin <[email protected]> --- This problem isn't actually specific to --as-needed, because the following happens with or without it: Given myLib.a, putting -lmyLib before otherLibThatNeedsMyLib.a on the linker command line will (normally) fail to link, because - working from left to right on the command line - symbols from libraries passed by -l are not kept around unless something has already needed them. --
