summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/cabal-install/bootstrap.patch
blob: 374706ccf468da0453fb926201af127f396af60a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- a/bootstrap.sh  2016-05-02 14:15:09.000000000 +0300
+++ b/bootstrap.sh  2016-07-03 22:35:15.000000000 +0300
@@ -69,7 +69,7 @@
 # Find the correct linker/linker-wrapper.
  LINK="$(for link in collect2 ld; do
           [ $($CC -print-prog-name=$link) = $link ] && continue ||
-          $CC -print-prog-name=$link
+          $CC -print-prog-name=$link && break
         done)"

 # Fall back to "ld"... might work.