mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-14 15:32:24 +00:00
Merge pull request #224 from bzz/ci-fix-linux-shared-release
HOTFIX: enable cgo for linux native lib release on CI
This commit is contained in:
commit
ab3c26b46d
2
Makefile
2
Makefile
@ -76,7 +76,7 @@ $(DARWIN_SHARED_LIB):
|
|||||||
|
|
||||||
$(LINUX_SHARED_LIB):
|
$(LINUX_SHARED_LIB):
|
||||||
mkdir -p $(LINUX_DIR) && \
|
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)
|
mv $(LINUX_DIR)/$(HEADER_FILE) $(RESOURCES_DIR)/$(HEADER_FILE)
|
||||||
|
|
||||||
.PHONY: benchmarks benchmarks-samples benchmarks-slow
|
.PHONY: benchmarks benchmarks-samples benchmarks-slow
|
||||||
|
Loading…
Reference in New Issue
Block a user