mirror of
https://github.com/binwiederhier/ntfy.git
synced 2024-11-22 19:33:27 +01:00
Fix CGO stuff for sqlite
This commit is contained in:
parent
ecde123f1c
commit
60cbf23bcc
2 changed files with 2 additions and 3 deletions
|
@ -4,11 +4,9 @@ before:
|
||||||
builds:
|
builds:
|
||||||
- binary: ntfy
|
- binary: ntfy
|
||||||
env:
|
env:
|
||||||
- CGO_ENABLED=0
|
- CGO_ENABLED=1 # required for go-sqlite3
|
||||||
goos:
|
goos:
|
||||||
- linux
|
- linux
|
||||||
- windows
|
|
||||||
- darwin
|
|
||||||
goarch:
|
goarch:
|
||||||
- amd64
|
- amd64
|
||||||
nfpms:
|
nfpms:
|
||||||
|
|
1
Makefile
1
Makefile
|
@ -94,6 +94,7 @@ build-snapshot:
|
||||||
|
|
||||||
build-simple: clean
|
build-simple: clean
|
||||||
mkdir -p dist/ntfy_linux_amd64
|
mkdir -p dist/ntfy_linux_amd64
|
||||||
|
export CGO_ENABLED=1
|
||||||
$(GO) build \
|
$(GO) build \
|
||||||
-o dist/ntfy_linux_amd64/ntfy \
|
-o dist/ntfy_linux_amd64/ntfy \
|
||||||
-ldflags \
|
-ldflags \
|
||||||
|
|
Loading…
Reference in a new issue