From 112bae4bc33f008d260395350b0ef8a479651f70 Mon Sep 17 00:00:00 2001
From: rrt <unknown>
Date: Tue, 16 May 2000 11:26:31 +0000
Subject: [PATCH] [project @ 2000-05-16 11:26:31 by rrt] Package fix: don't
 have posix as a dependency of util on Windows (where posix doesn't work).

---
 ghc/driver/ghc.lprl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ghc/driver/ghc.lprl b/ghc/driver/ghc.lprl
index 7ec0015a0949..d87d9965886f 100644
--- a/ghc/driver/ghc.lprl
+++ b/ghc/driver/ghc.lprl
@@ -2655,7 +2655,7 @@ sub add_syslib {
 	       ? "$InstLibDirGhc"
 	       : "$TopPwd/hslibs/util/cbits"
 	  )
-	, 'lang concurrent posix' # Syslib dependencies
+	, 'lang concurrent' . (( $TargetPlatform =~ /^.*(cygwin32|mingw32)$/ ) ? '' : 'posix' ) # Syslib dependencies
 	, ''     # extra ghc opts
 	, ''     # extra cc opts
 	, "$LibsReadline"     # extra ld opts
-- 
GitLab