include libmagic in windows installer
This is from https://raw.githubusercontent.com/datalad/datalad-extensions/master/resources/git-annex-magicBundle.patch which was written by John Thorvald Wodder II. I have converted line endings from windows, and fixed indentation to use tabs.
This commit is contained in:
parent
f3070d2d7d
commit
a7d11aa3ab
2 changed files with 20 additions and 3 deletions
|
@ -87,3 +87,17 @@ preferredBundledPrograms = catMaybes
|
|||
ifset True s = Just s
|
||||
ifset False _ = Nothing
|
||||
#endif
|
||||
|
||||
magicDLLs :: [FilePath]
|
||||
#ifdef mingw32_HOST_OS
|
||||
magicDLLs = ["libmagic-1.dll", "libgnurx-0.dll"]
|
||||
#else
|
||||
magicDLLs = []
|
||||
#endif
|
||||
|
||||
magicShare :: [FilePath]
|
||||
#ifdef mingw32_HOST_OS
|
||||
magicShare = ["magic.mgc"]
|
||||
#else
|
||||
magicShare = []
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue