diff --git a/compiler/extccomp.nim b/compiler/extccomp.nim index 7da3772777..e9c29c866d 100644 --- a/compiler/extccomp.nim +++ b/compiler/extccomp.nim @@ -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",