Skip to content

Commit 0577844

Browse files
committed
Fix CPP ifdef problem
1 parent 94e9d09 commit 0577844

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

HOPS/Download.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import HOPS.OEIS (URL)
1818
import System.Console.ANSI
1919
import System.IO
2020

21-
#if MIN_VERSION_http_conduit(2,1,5)
21+
#if MIN_VERSION_http_conduit(2,1,7)
2222

2323
import Control.Monad.Trans.Resource (runResourceT)
2424

static-build/mk-hops.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ fi
1212

1313
cabal update
1414
cabal install --only-dependencies
15+
cabal build
16+
17+
ghc --make -threaded -O2 -with-rtsopts=-N -optl-static \
18+
-optP-include -optPdist/build/autogen/cabal_macros.h hops.hs
1519

16-
ghc --make -threaded -O2 -with-rtsopts=-N -optl-static hops.hs
1720
strip -s hops

0 commit comments

Comments
 (0)