I'm working on a PR
(https://github.com/Abscissa/dub/commits/more-details), and I noticed
that if the main project has dependency on a staticLibrary, the
path/name for the actual built static library is nowhere to be found in
BuildSettings, not even in BuildSettings.libs (which only lists non-dub
libs).

Does that sound correct? If so, is there a correct place to obtain
these, or it is just to be manually pieced together by navigating the
dependencies and looking for static libraries and grabbing their target
names and target paths?

If it matters, I'm constructing the BuildSettings using addBuildSettings
in the same manner used by "dub test", which seems to work right for all
other data AFAICT.

Perhaps addBuildSettings should be adjusted to populate
BuildSettings.libs with dub-based static libs? Or would that be a wrong
approach?