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 86e638567a
,
to try the other way to implement it, which will hopefully avoid the problem.
This commit is contained in:
parent
e696b086dc
commit
839ec7e26c
3 changed files with 13 additions and 15 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue