Add native Windows build of meshtasticd (#11031)
This commit is contained in:
co-authored by
GitHub
parent
4726375282
commit
a808e992a1
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env python3
|
||||
# trunk-ignore-all(ruff/F821)
|
||||
# trunk-ignore-all(flake8/F821): For SConstruct imports
|
||||
#
|
||||
# PlatformIO routes build_flags to the compile step only, so the static link
|
||||
# flags are appended here, as wasm_link_flags.py does for [env:native-wasm].
|
||||
Import("env")
|
||||
|
||||
if env["PIOENV"].startswith("native-windows"):
|
||||
env.Append(
|
||||
LINKFLAGS=[
|
||||
"-static",
|
||||
"-static-libgcc",
|
||||
"-static-libstdc++",
|
||||
]
|
||||
)
|
||||
Reference in New Issue
Block a user