Add /DLL switch when building shared libs with MSC

This commit is contained in:
Jason Perkins 2013-12-20 10:19:44 -05:00
parent 0824533307
commit 591b6d4083
2 changed files with 9 additions and 0 deletions

View File

@ -154,6 +154,9 @@
_NoManifest = "/MANIFEST",
OmitDefaultLibrary = "/NODEFAULTLIB",
Symbols = "/DEBUG",
},
kind = {
SharedLib = "/DLL",
}
}

View File

@ -234,3 +234,9 @@
prepare()
test.contains("/MANIFEST:NO", msc.getldflags(cfg))
end
function suite.ldflags_onDLL()
kind "SharedLib"
prepare()
test.contains("/DLL", msc.getldflags(cfg))
end