Fix x86_mscoff/-m32mscoff build.

This commit is contained in:
Sönke Ludwig 2017-03-09 11:35:19 +01:00
parent bcc059e6d7
commit 5f3dc4fd78
2 changed files with 18 additions and 2 deletions

View file

@ -9,6 +9,10 @@ environment:
DVersion: 2.073.0 DVersion: 2.073.0
arch: x86 arch: x86
config: select config: select
- DC: dmd
DVersion: 2.073.0
arch: x86_mscoff
config: select
- DC: dmd - DC: dmd
DVersion: 2.072.2 DVersion: 2.072.2
arch: x64 arch: x64

16
dub.sdl
View file

@ -7,7 +7,6 @@ targetType "library"
libs "anl" platform="linux" libs "anl" platform="linux"
libs "ws2_32" "user32" platform="windows" libs "ws2_32" "user32" platform="windows"
sourceFiles "lib/ws2_32.lib" platform="windows-x86-dmd"
dependency "taggedalgebraic" version="~>0.10.4" dependency "taggedalgebraic" version="~>0.10.4"
@ -22,14 +21,27 @@ configuration "kqueue" {
} }
configuration "winapi" { configuration "winapi" {
platforms "windows" platforms "windows-x86_64" "windows-x86_mscoff"
versions "EventcoreWinAPIDriver" versions "EventcoreWinAPIDriver"
} }
configuration "select" { configuration "select" {
platforms "posix" "windows-x86_64" "windows-x86_mscoff"
versions "EventcoreSelectDriver" versions "EventcoreSelectDriver"
} }
configuration "winapi-optlink" {
platforms "windows-x86-dmd"
versions "EventcoreWinAPIDriver"
sourceFiles "lib/ws2_32.lib"
}
configuration "select-optlink" {
platforms "windows-x86-dmd"
versions "EventcoreSelectDriver"
sourceFiles "lib/ws2_32.lib"
}
configuration "libasync" { configuration "libasync" {
dependency "libasync" version="~>0.8.2" dependency "libasync" version="~>0.8.2"
versions "EventcoreLibasyncDriver" versions "EventcoreLibasyncDriver"