In commit “build: depends makes libmultiprocess by default” (a77a88a7583e7f07626b55347cb6d3f31be8bffb)
It seems like this change is forcing multiprocess to be disabled for windows (ignoring the NO_MULTIPROCESS setting) instead of just defaulting it to off for windows. If that is really the intention here, I think it would be good to have a comment pointing that out, otherwise it’s not clear why this code is explicitly mentioning linux and darwin.
I also wonder if a better alternative instead of changing package definitions and ignoring the NO_MULTIPROCESS setting on certain platforms is just to change the default NO_MULTIPROCESS value depending on the platform. Like maybe:
0# Default NO_MULTIPROCESS value is 1 unless host platform is linux or darnwin due to lack of support on other platforms currently
1NO_MULTIPROCESS ?= $(if $(findstring linux,$(HOST))$(findstring darwin,$(HOST)),,1)
or
0# Default NO_MULTIPROCESS value is 1 if host platform is windows because it doesn't currently build on windows
1NO_MULTIPROCESS ?= $(if $(findstring mingw32,$(HOST)),1,)