fix Issue 11069 - DMD (github HEAD) Linker Regression
Merge pull request #2577 from 9rnsr/fix11069

[REG2.064a] Issue 11069 - DMD (github HEAD) Linker Regression