[project @ 2000-05-16 11:26:31 by rrt]
authorrrt <unknown>
Tue, 16 May 2000 11:26:31 +0000 (11:26 +0000)
committerrrt <unknown>
Tue, 16 May 2000 11:26:31 +0000 (11:26 +0000)
Package fix: don't have posix as a dependency of util on Windows (where
posix doesn't work).

ghc/driver/ghc.lprl

index 7ec0015..d87d996 100644 (file)
@@ -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