Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
2dbdd850
Commit
2dbdd850
authored
Mar 29, 2002
by
krasimir
Browse files
[project @ 2002-03-29 20:14:31 by krasimir]
Hack hs_libraries package info for HSobjectio[1,2,3,4]
parent
eb2a3ce7
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/main/DriverState.hs
View file @
2dbdd850
-----------------------------------------------------------------------------
-- $Id: DriverState.hs,v 1.7
2
2002/03/
15 13:57:31 simonma
r Exp $
-- $Id: DriverState.hs,v 1.7
3
2002/03/
29 20:14:31 krasimi
r Exp $
--
-- Settings for the driver
--
...
...
@@ -497,6 +497,7 @@ getPackageLibraries = do
-- See driver/PackageSrc.hs for the HSbase1/HSbase2 split definition.
-- THIS IS A STRICTLY TEMPORARY HACK (famous last words ...)
-- JRS 04 Sept 01: Same appalling hack for HSwin32[1,2]
-- KAA 29 Mar 02: Same appalling hack for HSobjectio[1,2,3,4]
hACK
libs
#
ifndef
mingw32_TARGET_OS
=
libs
...
...
@@ -507,6 +508,9 @@ getPackageLibraries = do
if
"HSwin321"
`
elem
`
libs
&&
"HSwin322"
`
elem
`
libs
then
"HSwin32"
:
filter
(
not
.
(
isPrefixOf
"HSwin32"
))
libs
else
if
"HSobjectio1"
`
elem
`
libs
&&
"HSobjectio2"
`
elem
`
libs
&&
"HSobjectio3"
`
elem
`
libs
&&
"HSobjectio4"
`
elem
`
libs
then
"HSobjectio"
:
filter
(
not
.
(
isPrefixOf
"HSobjectio"
))
libs
else
libs
#
endif
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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