You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: