mirror of
https://github.com/dlang/dmd.git
synced 2025-04-25 20:50:41 +03:00
Fix building Dub package on Windows due to duplicated symbols
Building the Dub package on Windows results in the following duplicated symbols: `?backend_init@@YAXXZ` and `?backend_term@@YAXXZ`. This is solved by excluding the `dmsc.d` file from the Dub package. The `backend_init` and `backend_term` symbols are both defined in `gluelayer.d` (when the `NoBackend` version is defined) and `dmsc.d`.
This commit is contained in:
parent
7b7f7f28ca
commit
c92ed7cf93
1 changed files with 1 additions and 1 deletions
2
dub.sdl
2
dub.sdl
|
@ -62,5 +62,5 @@ subPackage {
|
|||
versions "MARS"
|
||||
sourcePaths "src/dmd"
|
||||
excludedSourceFiles "src/dmd/backend/*"
|
||||
excludedSourceFiles "src/dmd/{e2ir,eh,glue,iasm,iasmdmd,iasmgcc,objc_glue,s2ir,tocsym,toctype,toobj,todt,toir}.d"
|
||||
excludedSourceFiles "src/dmd/{dmsc,e2ir,eh,glue,iasm,iasmdmd,iasmgcc,objc_glue,s2ir,tocsym,toctype,toobj,todt,toir}.d"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue