diff options
author | Joey Hess <joey@kitenet.net> | 2013-02-27 15:16:52 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-02-27 15:16:52 -0400 |
commit | 9e121a34e1db97f6e100a0d50e276cea16255baf (patch) | |
tree | f8f4f0764db270d667c0778ee14f8ed07789ad06 /Makefile | |
parent | 317e8c9bf6097df93c28e7d335cea0a2006c23f0 (diff) |
fix android cross compile, working around cabal limitation
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -163,8 +163,12 @@ osxapp: # Cross compile for Android. # Uses https://github.com/neurocyte/ghc-android android: + cabal configure +# cabal cannot cross compile with custom build type, so workaround + sed -i 's/Build-type: Custom/Build-type: Simple/' git-annex.cabal $$HOME/.ghc/android-14/arm-linux-androideabi-4.7/arm-linux-androideabi/bin/cabal configure -f'Android Assistant -Pairing -Webapp' $(MAKE) git-annex + sed -i 's/Build-type: Simple/Build-type: Custom/' git-annex.cabal androidapp: $(MAKE) android |