This commit is contained in:
rustdesk
2024-08-18 09:56:24 +08:00
parent d1fe617670
commit 4e084c5ee0
3 changed files with 9 additions and 2 deletions

View File

@@ -6,5 +6,8 @@ rustflags = ["-C", "target-feature=+crt-static", "-C", "link-args=/NODEFAULTLIB:
rustflags = [
"-C", "link-args=-sectcreate __CGPreLoginApp __cgpreloginapp /dev/null",
]
[target.'cfg(target_os="linux")']
rustflags = ["-Ctarget-feature=+crt-static"]
#[target.'cfg(target_os="linux")']
# glibc-static required, this may fix https://github.com/rustdesk/rustdesk/issues/9103, but I do not wanna to this big change
#rustflags = [
# "-C", "link-args=-Wl,-Bstatic -lc -Wl,-Bdynamic"
#]