bazel-contrib / rules_foreign_cc

Build rules for interfacing with "foreign" (non-Bazel) build systems (CMake, configure-make, GNU Make, boost, ninja, Meson)
https://bazel-contrib.github.io/rules_foreign_cc
Apache License 2.0
680 stars 249 forks source link

invoke wrong make name when cross compiling for windows #1268

Closed xiedeacc closed 3 months ago

xiedeacc commented 3 months ago

same as https://github.com/bazelbuild/rules_foreign_cc/issues/890, when I use mingw32-w64 toolchain to cross compile openssl for windows on linux, configure_make_variant invoke a wrong make with make.exe name, it should use make

xiedeacc commented 3 months ago

it seems we must define a native_tool_toolchain to compitible with this

xiedeacc commented 3 months ago

fixed by self defined toolchain