mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-05 18:55:27 +00:00
Fixed Makefile build step for Haskell bindings
This commit is contained in:
parent
431035b335
commit
8cb77a2a93
|
@ -18,7 +18,7 @@ all:
|
||||||
cd go && $(MAKE) gen_const
|
cd go && $(MAKE) gen_const
|
||||||
cd java && $(MAKE) gen_const
|
cd java && $(MAKE) gen_const
|
||||||
python const_generator.py dotnet
|
python const_generator.py dotnet
|
||||||
cd haskell && cabal configure && cabal build
|
cd haskell && cabal install --dependencies-only && cabal configure && cabal build
|
||||||
|
|
||||||
samples: expected python
|
samples: expected python
|
||||||
|
|
||||||
|
|
|
@ -14,8 +14,14 @@ from source.
|
||||||
1. Change directories into the Haskell bindings, build and install
|
1. Change directories into the Haskell bindings, build and install
|
||||||
|
|
||||||
$ cd bindings/haskell
|
$ cd bindings/haskell
|
||||||
|
$ cabal install --dependencies-only
|
||||||
|
$ cabal configure
|
||||||
$ cabal build
|
$ cabal build
|
||||||
$ cabal install
|
$ cabal install
|
||||||
|
|
||||||
If the build fails, try installing c2hs manually (cabal install c2hs) and make
|
If you are installing into a sandbox, run `cabal sandbox init` before
|
||||||
sure that $HOME/.cabal/bin is on your PATH.
|
installing Unicorn's dependencies.
|
||||||
|
|
||||||
|
If the build fails, try installing c2hs manually via `cabal install c2hs` (note
|
||||||
|
that this is a known problem). If you are NOT using a sandbox, make sure that
|
||||||
|
`$HOME/.cabal/bin` is on your PATH.
|
||||||
|
|
Loading…
Reference in a new issue