On Saturday, 10 August 2024 at 08:07:14 UTC, Denis Feklushkin
wrote:
On Friday, 9 August 2024 at 22:32:21 UTC, Alex Bryan wrote:
Point is that D can be not a main language of the project and
it is unconvient to extract by somehow paths to phobos and
druntime at last stages of project build.
ldc2 has the --static option, though, looking from ldc2 --help
I'm not 100% sure exactly what that does.
--static means executable creation, not a static library
If i remember correctly, you have to pass
`--link-defaultlib-shared=false`