make it possible to pass linker options for vcc (#13535) [backport]

(cherry picked from commit 0f1a4ac96c)
This commit is contained in:
cooldome
2020-02-29 17:57:00 +00:00
committed by narimiran
parent 26681769e8
commit b64e109fdc

View File

@@ -143,7 +143,7 @@ compiler vcc:
buildDll: " /LD",
buildLib: "lib /OUT:$libfile $objfiles",
linkerExe: "cl",
linkTmpl: "$options $builddll$vccplatform /Fe$exefile $objfiles $buildgui",
linkTmpl: "$builddll$vccplatform /Fe$exefile $objfiles $buildgui $options",
includeCmd: " /I",
linkDirCmd: " /LIBPATH:",
linkLibCmd: " $1.lib",