mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-19 06:26:14 -05:00
fix: preserve environment in systemd launch
This commit is contained in:
3 files changed
+4
-8
No files matched your search
@@ -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");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user