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
72f8e98f
Unverified
Commit
72f8e98f
authored
Dec 23, 2016
by
Mikhail Glushenkov
Browse files
Fix #3440.
Fix provided by @mvkorpel.
parent
a1f6ae9a
Changes
1
Hide whitespace changes
Inline
Side-by-side
cabal-install/bootstrap.sh
View file @
72f8e98f
...
@@ -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