Skip to content

Commit

Permalink
Fixed for stack
Browse files Browse the repository at this point in the history
  • Loading branch information
crockeea committed Jun 5, 2016
1 parent f36d51e commit c9506c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions cpptest.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ executable cpptest
Include-dirs: src
-- we need stdc++ to use `cout`
extra-libraries: stdc++
-- order matters on these cpp files when using `cabal repl`. See GHC#12152
C-sources: src/zq.cpp, src/main.cpp
-- Order matters for dynamic linking, see GHC#12152.
-- To make both `cabal repl` and `stack ghci` work, we have to
-- make "a.cpp" come alphabetically before "main.cpp".
C-sources: src/a.cpp, src/main.cpp
cc-options: -fPIC
ghc-options: -pgmlg++
main-is: Main.hs


build-depends: base
File renamed without changes.

0 comments on commit c9506c4

Please sign in to comment.