msgfmt: fix runtime requirements #105048

Merged
Ray molenkamp merged 2 commits from LazyDodo/blender:tmp_msgfmt_fix into main 2023-02-21 23:00:45 +01:00

2 Commits

Author SHA1 Message Date
3f0a4cbd28 Merge branch 'main' into tmp_msgfmt_fix 2023-02-21 22:58:44 +01:00
61ff65b567 msgfmt: fix runtime requirements
Some checks failed
buildbot/vexp-code-patch-coordinator Build done.
msgfmt has a TBB dependency though bf_blenlib, now for a release build
The MSVC linker is smart enough to realize none of the TBB code is
actually used and discards it. In debug mode the linker is a bit more
conservative and doesn't, leaving msgfmt with a runtime dependency
on TBB. The problem here is, we only copy the runtime dlls during
the install phase, and msgfmt runs long long before that.

For this reason when we run msgfmt we should make sure any runtime
needs it could have are met in the path, there already is a handy
variable for that since oslc has similar requirements.
2023-02-21 12:46:52 -07:00