fix: preserve environment in systemd launch

This commit is contained in:
Kevin Yue committed 2026-09-13 13:26:49 +08:00
1 parent e2a64ed7d4
commit 9d8c3b4e34
3 files changed
+4 -8

No files matched your search

+1 -4
View File
@@ -117,10 +117,7 @@ fn build_openconnect(deps_dir: &PathBuf, out_dir: &PathBuf) -> PathBuf {
#[cfg(target_os = "macos")]
{
config
.disable_static()
.enable_shared()
.without("gnutls", None);
config.disable_static().enable_shared().without("gnutls", None);
config.ldflag("-liconv");
config.env("LIBS", "-liconv");
}