Skip to content

Commit

Permalink
Fix #968. Avoid building executable on ARM platform
Browse files Browse the repository at this point in the history
  • Loading branch information
NCrashed committed Jun 15, 2021
1 parent acfb5ed commit 06feba1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ergo-protocol-client/ergo-protocol-client.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ author: Anton Gushcha, Aminion, Vladimir Krutkin, Levon Oganyan, Se
maintainer: Anton Gushcha <[email protected]>
extra-source-files: CHANGELOG.md

flag client-tool
description: Build executable for connecting to Ergo node
-- See #968, don't build on ARM to prevent linker errors
default: False
manual: True

library
hs-source-dirs: src
exposed-modules:
Expand Down Expand Up @@ -40,6 +46,10 @@ library
TemplateHaskell

executable ergo-protocol-client
if flag(client-tool)
buildable: True
else
buildable: False
hs-source-dirs: app
main-is: Main.hs
ghc-options: -threaded -O3
Expand Down
1 change: 1 addition & 0 deletions wallet/ergvein-wallet.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ library
, directory
, dns >= 4.0 && < 5.0
, ergo-protocol
, ergo-protocol-client
, ergvein-common >= 1.0 && < 1.1
, ergvein-core
, ergvein-crypto >= 0.1 && < 0.2
Expand Down

0 comments on commit 06feba1

Please sign in to comment.