summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/build.yml5
-rw-r--r--exes/all/main.go2
2 files changed, 4 insertions, 3 deletions
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"