ci: enable cgo for linux native lib release
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
This commit is contained in:
parent
8c5e0ceaca
commit
ade47c0a22
2
Makefile
2
Makefile
@ -76,7 +76,7 @@ $(DARWIN_SHARED_LIB):
|
||||
|
||||
$(LINUX_SHARED_LIB):
|
||||
mkdir -p $(LINUX_DIR) && \
|
||||
GOOS=linux GOARCH=amd64 go build -buildmode=c-shared -o $(LINUX_SHARED_LIB) $(NATIVE_LIB) && \
|
||||
CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -buildmode=c-shared -o $(LINUX_SHARED_LIB) $(NATIVE_LIB) && \
|
||||
mv $(LINUX_DIR)/$(HEADER_FILE) $(RESOURCES_DIR)/$(HEADER_FILE)
|
||||
|
||||
.PHONY: benchmarks benchmarks-samples benchmarks-slow
|
||||
|
Loading…
Reference in New Issue
Block a user