Add a precompiled c++ obj file to dub

Jacob Carlborg doob at me.com
Mon Oct 9 12:53:24 UTC 2017


On 2017-10-08 04:58, Fra Mecca wrote:

> At the end I added them as linking options (lflags) but it is kinda odd 
> that it works given that everything is supplied to dmd as -Lobj.o

Everything passed to DMD with the -L flag is passed to the linker, 
basically as is. So if the linker accepts object files passed directly 
on the command line then it works.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list