Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
073fcdba
Commit
073fcdba
authored
Dec 24, 2016
by
Mikhail Glushenkov
Committed by
GitHub
Dec 24, 2016
Browse files
Merge pull request #4187 from 23Skidoo/issue-3440
Fix #3440.
parents
a1f6ae9a
72f8e98f
Changes
1
Hide whitespace changes
Inline
Side-by-side
cabal-install/bootstrap.sh
View file @
073fcdba
...
@@ -69,12 +69,14 @@ done
...
@@ -69,12 +69,14 @@ done
If a C compiler is installed make sure it is on your PATH, or set $CC.'
If a C compiler is installed make sure it is on your PATH, or set $CC.'
# Find the correct linker/linker-wrapper.
# Find the correct linker/linker-wrapper.
#
# See https://github.com/haskell/cabal/pull/4187#issuecomment-269074153.
LINK
=
"
$(
for
link
in
collect2 ld
;
do
LINK
=
"
$(
for
link
in
collect2 ld
;
do
if
[
$(
$CC
-print-prog-name
=
$link
)
=
$link
]
if
[
$(
$CC
-print-prog-name
=
$link
)
=
$link
]
then
then
continue
continue
else
else
$CC
-print-prog-name
=
$link
$CC
-print-prog-name
=
$link
&&
break
fi
fi
done
)
"
done
)
"
...
...
Write
Preview
Supports
Markdown
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