flatc: Fix VS2022 link error

This commit is contained in:
johnnkp 2023-07-27 16:12:22 +08:00 committed by GitHub
parent f53aecb0e1
commit 5f1cb30f3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,7 +88,7 @@ cc_binary(
":platform_freebsd": [
"-lm",
],
":windows": [],
":windows": ["/DEFAULTLIB:msvcrt.lib"],
"//conditions:default": [
"-lm",
"-ldl",