From 70059d3df8634351d3698bf5549e639174a00dff Mon Sep 17 00:00:00 2001
From: midipix <writeonce@midipix.org>
Date: Thu, 3 Jan 2019 00:17:59 -0500
Subject: build system: ccenv_set_os_pe_switches(): fix typo.

---
 sofort/ccenv/ccenv.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'sofort/ccenv')

diff --git a/sofort/ccenv/ccenv.sh b/sofort/ccenv/ccenv.sh
index 83b5daa..a8955fb 100644
--- a/sofort/ccenv/ccenv.sh
+++ b/sofort/ccenv/ccenv.sh
@@ -905,7 +905,7 @@ ccenv_set_os_dso_patterns()
 
 ccenv_set_os_pe_switches()
 {
-	if [ "$ccenv_os" = 'PE' ] && [ -z "$ccenv_pe_subsystem" ]; then
+	if [ "$ccenv_cc_binfmt" = 'PE' ] && [ -z "$ccenv_pe_subsystem" ]; then
 		case "$ccenv_os" in
 			midipix | mingw )
 				ccenv_pe_subsystem='windows'
-- 
cgit v1.2.3