]> git.puffer.fish Git - matthieu/nova.git/commitdiff
fix macos
authorMatthieuCoder <matthieu@matthieu-dev.xyz>
Tue, 3 Jan 2023 17:17:05 +0000 (21:17 +0400)
committerMatthieuCoder <matthieu@matthieu-dev.xyz>
Tue, 3 Jan 2023 17:17:05 +0000 (21:17 +0400)
.github/workflows/build.yml
exes/all/main.go

index 74522df556f4303ed388e421e8a0597e2adb57fa..8af8c92d39f8471c0d0b78e36f95f663d0ceb47b 100644 (file)
@@ -40,7 +40,9 @@ jobs:
       - uses: actions/setup-go@v3
         with:
           go-version: '1.18.4'
-      
+      - run: |
+        brew uninstall openssl
+        brew untap local/openssl
       - name: Build
         run: |
           cargo build --release
@@ -125,7 +127,6 @@ jobs:
       - name: All in one
         run: |
           cd exes/all
-          export CGO_LDFLAGS='-lcrypto'
           make build
       
       - name: Move artifacts
index 293907b0e5d3a24c60eb09ebd2a6a8ddfb54bfdc..3a8a9d8665dea2054e16c7af939a8a833c4c95f5 100644 (file)
@@ -1,7 +1,7 @@
 package main
 
 /*
-#cgo LDFLAGS: -L./build -lall -lz -ldl -lssl -lm
+#cgo LDFLAGS: -L./build -lall -lcrypto -lz -ldl -lssl -lm
 #include "./build/all.h"
 */
 import "C"