Fixed build script for Windows.
diff --git a/build/rive_build_config.lua b/build/rive_build_config.lua index 3f237cc..d1846d2 100644 --- a/build/rive_build_config.lua +++ b/build/rive_build_config.lua
@@ -414,11 +414,17 @@ premake.tools.android_ndk[k] = v end + -- Windows requires extentions for .cmd files. + local ndk_ext = ''; + if os.host() == 'windows' then + ndk_ext = '.cmd'; + end + -- update the android_ndk toolset to use the appropriate binaries. local android_ndk_tools = { - cc = ndk_toolchain .. '/bin/' .. android_target .. '-clang', - cxx = ndk_toolchain .. '/bin/' .. android_target .. '-clang++', - ar = ndk_toolchain .. '/bin/llvm-ar', + cc = ndk_toolchain .. '/bin/' .. android_target .. '-clang' .. ndk_ext, + cxx = ndk_toolchain .. '/bin/' .. android_target .. '-clang++' .. ndk_ext, + ar = ndk_toolchain .. '/bin/llvm-ar' } function premake.tools.android_ndk.gettoolname(cfg, tool) return android_ndk_tools[tool]