Add /DLL switch when building shared libs with MSC
This commit is contained in:
parent
0824533307
commit
591b6d4083
@ -154,6 +154,9 @@
|
|||||||
_NoManifest = "/MANIFEST",
|
_NoManifest = "/MANIFEST",
|
||||||
OmitDefaultLibrary = "/NODEFAULTLIB",
|
OmitDefaultLibrary = "/NODEFAULTLIB",
|
||||||
Symbols = "/DEBUG",
|
Symbols = "/DEBUG",
|
||||||
|
},
|
||||||
|
kind = {
|
||||||
|
SharedLib = "/DLL",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -234,3 +234,9 @@
|
|||||||
prepare()
|
prepare()
|
||||||
test.contains("/MANIFEST:NO", msc.getldflags(cfg))
|
test.contains("/MANIFEST:NO", msc.getldflags(cfg))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function suite.ldflags_onDLL()
|
||||||
|
kind "SharedLib"
|
||||||
|
prepare()
|
||||||
|
test.contains("/DLL", msc.getldflags(cfg))
|
||||||
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user