Skip to content

Commit 35b0558

Browse files
committed
fixup! release: add Mac OSX installer build
Fix cURL linking issue
1 parent 322ee20 commit 35b0558

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/build-git-installers.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,6 @@ jobs:
219219
# `gettext` is keg-only
220220
LDFLAGS: -L/usr/local/opt/gettext/lib
221221
CFLAGS: -I/usr/local/opt/gettext/include
222-
# Link with cURL
223-
CURL_LDFLAGS: -lcurl
224222
# To make use of the catalogs...
225223
XML_CATALOG_FILES: /usr/local/etc/xml/catalog
226224
# Enable a bit stricter compile flags
@@ -232,7 +230,7 @@ jobs:
232230
- name: Install git dependencies
233231
run: |
234232
set -x
235-
brew install -v automake asciidoc xmlto
233+
brew install automake asciidoc xmlto
236234
brew link --force gettext
237235
- name: Clone git
238236
uses: actions/checkout@v2
@@ -258,8 +256,9 @@ jobs:
258256
exit 1
259257
}
260258
261-
VERSION="${{ needs.prereqs.outputs.tag_version }}"
262-
export VERSION
259+
# Configure the environment
260+
export CURL_LDFLAGS=$(curl-config --libs)
261+
export VERSION="${{ needs.prereqs.outputs.tag_version }}"
263262
264263
dir=git_osx_installer/git-$VERSION
265264
test ! -e $dir ||

0 commit comments

Comments
 (0)