From: MatthieuCoder Date: Tue, 3 Jan 2023 17:17:05 +0000 (+0400) Subject: fix macos X-Git-Tag: v0.1~11 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=ddba63f03396dec28f581c4254f403bac1577b4d;p=matthieu%2Fnova.git fix macos --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 74522df..8af8c92 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/exes/all/main.go b/exes/all/main.go index 293907b..3a8a9d8 100644 --- a/exes/all/main.go +++ b/exes/all/main.go @@ -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"