diff options
Diffstat (limited to 'share/qbs/modules/cpp/msvc.js')
-rw-r--r-- | share/qbs/modules/cpp/msvc.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/share/qbs/modules/cpp/msvc.js b/share/qbs/modules/cpp/msvc.js index 10a8b6c8c..0df17a25e 100644 --- a/share/qbs/modules/cpp/msvc.js +++ b/share/qbs/modules/cpp/msvc.js @@ -195,6 +195,8 @@ function prepareLinker(product, inputs, outputs, libraryPaths, dynamicLibraries, args.push('/LIBPATH:' + FileInfo.toWindowsSeparators(libraryPaths[i])) } args = args.concat(linkerFlags); + if (ModUtils.moduleProperty(product, "allowUnresolvedSymbols")) + args.push("/FORCE:UNRESOLVED"); var commands = []; var cmd = new Command(product.moduleProperty("cpp", "linkerPath"), args) |