]> git.puffer.fish Git - matthieu/nova.git/commitdiff
make msys2 build pass
authorMatthieuCoder <matthieu@matthieu-dev.xyz>
Tue, 3 Jan 2023 15:03:10 +0000 (19:03 +0400)
committerMatthieuCoder <matthieu@matthieu-dev.xyz>
Tue, 3 Jan 2023 15:03:10 +0000 (19:03 +0400)
.github/workflows/build.yml

index 4a5211b39943838e505687d67bd98fe3fa8435c8..418e3af3753536416f455a8e36e40712cc16b2ab 100644 (file)
@@ -75,7 +75,7 @@ jobs:
       - uses: actions/checkout@v2
       - uses: msys2/setup-msys2@v2
         with:
-          install: git mingw-w64-x86_64-go mingw-w64-x86_64-make mingw-w64-x86_64-protobuf mingw-w64-x86_64-rust mingw-w64-x86_64-gcc
+          install: git mingw-w64-x86_64-go mingw-w64-x86_64-make mingw-w64-x86_64-protobuf mingw-w64-x86_64-rust mingw-w64-x86_64-gcc mingw-w64-x86_64-dlfcn
       
       - name: Build
         run: |
@@ -86,6 +86,7 @@ jobs:
       - name: All in one
         run: |
           cd exes/all
+          export LDFLAGS='-lntdll -lWs2_32 -lcrypt32 -lSecur32 -luserenv -lNcrypt -lbcrypt'
           mingw32-make.exe build
       
       - name: Move artifacts