Packaging fails - fatal error LNK1181: cannot open input file 'tbbmalloc.lib'

Update: I have found the issue. It’s substance plugin. After disabling it packaging works.