Stop bundling curl in the OSX dmg

New curl binary links to libldap with a @loader_path that prevents using
the binary when the dmg is used elsewhere.
See https://github.com/datalad/git-annex/issues/170

git-annex doesn't use curl by default anyway, so it doesn't really need to
be included in the dmg.
This commit is contained in:
Joey Hess 2023-08-15 14:21:53 -04:00
parent 9fffa85a9e
commit 571a516ed2
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
3 changed files with 4 additions and 6 deletions

View file

@ -63,14 +63,11 @@ preferredBundledPrograms = catMaybes
, Just "sh"
-- used by git-annex when available
, Just "uname"
-- Included in git for Windows
, Just "cp"
#endif
, BuildInfo.lsof
, BuildInfo.gcrypt
#ifndef mingw32_HOST_OS
-- These utilities are included in git for Windows
, ifset BuildInfo.curl "curl"
, Just "cp"
#endif
#ifdef linux_HOST_OS
-- used to unpack the tarball when upgrading
, Just "gunzip"