allow magicmime on windows
John Thorvald Wodder II got it working using https://github.com/datalad/file-windows so don't hard-disable it. The stack.yaml still disables this build flag, because it needs an extra C library to be installed, which stack cannot automate.
This commit is contained in:
parent
a7d11aa3ab
commit
aed64428d5
1 changed files with 2 additions and 3 deletions
|
@ -595,9 +595,8 @@ Executable git-annex
|
||||||
CPP-Options: -DWITH_TORRENTPARSER
|
CPP-Options: -DWITH_TORRENTPARSER
|
||||||
|
|
||||||
if flag(MagicMime)
|
if flag(MagicMime)
|
||||||
if (! os(windows))
|
Build-Depends: magic
|
||||||
Build-Depends: magic
|
CPP-Options: -DWITH_MAGICMIME
|
||||||
CPP-Options: -DWITH_MAGICMIME
|
|
||||||
|
|
||||||
if flag(Benchmark)
|
if flag(Benchmark)
|
||||||
Build-Depends: criterion
|
Build-Depends: criterion
|
||||||
|
|
Loading…
Reference in a new issue