aboutsummaryrefslogtreecommitdiff
path: root/git-annex.cabal
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-10-24 12:33:44 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-10-24 12:33:44 -0400
commitd6d0b1fe20397bf073f11d579f5c0c38785e071a (patch)
treed164807d5d29452b0a9f6e0f1b62890418fa3281 /git-annex.cabal
parentd004d771b88d8aff901304ab093d7396ed476b2f (diff)
try to avoid TerminateProcess link error on windows
Building with stack, it failed: `_TerminateProcess' referenced in section `.text' of .stack-work\dist\5f9bc736\build\git-annex\git-annex-tmp\Utility\WinProcess.o: defined in discarded section `.text' of C:/Users/jenkins/AppData/Local/Programs/stack/i386-windows/ghc-8.0.2/mingw/bin/../lib/gcc/i686-w64-mingw32/5.2.0/../../../../i686-w64-mingw32/lib/../lib/libkernel32.a(dacgs01154.o) This is a reversion of 6d66a81ca98f8579bf06f7fb724ed733670d39b9, to try the other way to implement it, which will hopefully avoid the problem.
Diffstat (limited to 'git-annex.cabal')
-rw-r--r--git-annex.cabal1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-annex.cabal b/git-annex.cabal
index 65bf31a08..f332c6f0f 100644
--- a/git-annex.cabal
+++ b/git-annex.cabal
@@ -1061,6 +1061,7 @@ Executable git-annex
Utility.LockFile.Windows
Utility.LockPool.Windows
Utility.WinProcess
+ C-Sources: Utility/winprocess.c
else
Other-Modules:
Utility.LockFile.Posix