https://issues.dlang.org/show_bug.cgi?id=2968
Iain Buclaw <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #7 from Iain Buclaw <[email protected]> --- (In reply to Adam D. Ruppe from comment #5) > I'm gonna go ahead and disagree that this is useless; I still wish we had > it, and it would be a trivial little addition. If it doesn't work in gdc, no > big deal, they can still use their command line. But it is nice for things > to just work and specify their own dependencies. Well, pragma(lib) only works if you are compiling the project, not importing it (i.e: Every pragma(lib) in core.sys.windows doesn't work with certain build configurations). pragma(framework) will suffer from the same limitation. The build tools are better placed to manage this, assumedly because you already explicitly say what your dependencies are, and it can merge all library dependencies together in the final link command. --
