about summary refs log tree commit diff
path: root/src/bootstrap/src/utils/shared_helpers.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bootstrap/src/utils/shared_helpers.rs')
-rw-r--r--src/bootstrap/src/utils/shared_helpers.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/src/utils/shared_helpers.rs b/src/bootstrap/src/utils/shared_helpers.rs
index 1297a53d488..08e1c21e58e 100644
--- a/src/bootstrap/src/utils/shared_helpers.rs
+++ b/src/bootstrap/src/utils/shared_helpers.rs
@@ -20,7 +20,7 @@ use std::str::FromStr;
 /// Returns the environment variable which the dynamic library lookup path
 /// resides in for this platform.
 pub fn dylib_path_var() -> &'static str {
-    if cfg!(target_os = "windows") {
+    if cfg!(any(target_os = "windows", target_os = "cygwin")) {
         "PATH"
     } else if cfg!(target_vendor = "apple") {
         "DYLD_LIBRARY_PATH"