fix: solve gpgme build issue on windows

This commit is contained in:
saturneric 2024-07-29 01:09:26 +02:00
parent dcfe1a38ae
commit 1f26949320

View File

@ -165,10 +165,9 @@ jobs:
- name: Build GpgME (Windows)
shell: msys2 {0}
run: |
git clone --depth 1 --branch gpgme-1.18.0 git://git.gnupg.org/gpgme.git ${{github.workspace}}/third_party/gpgme
git clone --depth 1 --branch fix/1.18.0 https://git.bktus.com/GpgFrontend/gpgme.git ${{github.workspace}}/third_party/gpgme
cd ${{github.workspace}}/third_party/gpgme
./autogen.sh
export CFLAGS="-g -O2 -w -mms-bitfields"
./configure --enable-maintainer-mode --enable-languages=cpp --disable-gpg-test && make -j4
make install
cd ${{github.workspace}}