Skip to content

Commit

Permalink
Pass -c to msys
Browse files Browse the repository at this point in the history
  • Loading branch information
mwilliamson committed Nov 11, 2023
1 parent ebc57f5 commit 2a7461a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,4 @@ jobs:
- run: where.exe msys2

- run: |
tar xf jq-1.7.tar.gz
cd jq-1.7
./configure CFLAGS='-fPIC -pthread' --disable-maintainer-mode --with-oniguruma=builtin
make
which make
shell: msys2 {0}
working-directory: deps
- run: tox -e py
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ def _build_libjq(self):
tarball_path=jq_lib_tarball_path,
lib_dir=jq_lib_dir,
commands=[
[r"D:\a\_temp\setup-msys2\msys2.cmd", "./configure", "CFLAGS=-fPIC -pthread", "--disable-maintainer-mode", "--with-oniguruma=builtin"],
[r"D:\a\_temp\setup-msys2\msys2.cmd", "make", "V=1"],
[r"D:\a\_temp\setup-msys2\msys2.cmd", "-c", "./configure CFLAGS='-fPIC -pthread' --disable-maintainer-mode --with-oniguruma=builtin"],
[r"D:\a\_temp\setup-msys2\msys2.cmd", "-c", "make V=1"],
])

def _build_lib(self, tarball_path, lib_dir, commands):
Expand Down

0 comments on commit 2a7461a

Please sign in to comment.