Using a targetType of staticLibrary ignores objectfiles in sourceFiles.
How to reproduce?
create a new project (e.g. dub init)
set the targetType manually to staticLibrary
create a externally build objectfile (e.g. from c/c++) and add it's path to sourceFiles
add some dlang source
run dub build -v; the dmd command donst include the object file, nor is it or it's symbols contained in the resulting .a (when inspected with for example nm)
Expected Behavior
That objectfiles listed in sourceFiles are included in the resulting static library.
System information
Bug Description
Using a
targetType
ofstaticLibrary
ignores objectfiles insourceFiles
.How to reproduce?
dub init
)targetType
manually tostaticLibrary
sourceFiles
dub build -v
; the dmd command donst include the object file, nor is it or it's symbols contained in the resulting.a
(when inspected with for examplenm
)Expected Behavior
That objectfiles listed in
sourceFiles
are included in the resulting static library.