Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Alex D
GHC
Commits
89d9257e
Commit
89d9257e
authored
Apr 30, 2009
by
Ian Lynagh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix building Haskeline on Windows
parent
91c81cc9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
utils/ghc-cabal/ghc-cabal.hs
utils/ghc-cabal/ghc-cabal.hs
+3
-1
No files found.
utils/ghc-cabal/ghc-cabal.hs
View file @
89d9257e
...
...
@@ -14,6 +14,7 @@ import Distribution.Simple.Utils (defaultPackageDesc, withTempFile)
import
Distribution.Simple.Build
(
writeAutogenFiles
)
import
Distribution.Simple.Register
(
writeInstalledConfig
)
import
Distribution.Simple.PackageIndex
import
Distribution.System
import
Distribution.Text
import
Distribution.Verbosity
import
qualified
Distribution.InstalledPackageInfo
as
Installed
...
...
@@ -170,7 +171,8 @@ generate config_args distdir directory
-- Sigh, haskeline proper uses stuff in Setup.hs to handle whether
-- or not -liconv is used. We don't use Setup.hs, so we replicate
-- what it does here. We should do this better somehow.
when
(
display
(
pkgName
(
package
pd0
))
==
"haskeline"
)
$
when
((
display
(
pkgName
(
package
pd0
))
==
"haskeline"
)
&&
(
buildOS
/=
Windows
))
$
case
library
pd0
of
Nothing
->
fail
"Can't happen: No haskeline library"
Just
lib
->
do
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment