Skip to content

Commit

Permalink
Merge pull request #224 from bzz/ci-fix-linux-shared-release
Browse files Browse the repository at this point in the history
HOTFIX: enable cgo for linux native lib release on CI
  • Loading branch information
bzz authored Apr 11, 2019
2 parents 8c5e0ce + ade47c0 commit ab3c26b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ab3c26b

Please sign in to comment.