mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 10:10:08 -08:00
Merge pull request #2025 from slingamn/cgo
Fix #2023 (disable dynamic linking by default)
This commit is contained in:
commit
4b3a6cb611
1 changed files with 4 additions and 0 deletions
4
Makefile
4
Makefile
|
|
@ -3,6 +3,10 @@
|
|||
GIT_COMMIT := $(shell git rev-parse HEAD 2> /dev/null)
|
||||
GIT_TAG := $(shell git tag --points-at HEAD 2> /dev/null | head -n 1)
|
||||
|
||||
# disable linking against native libc / libpthread by default;
|
||||
# this can be overridden by passing CGO_ENABLED=1 to make
|
||||
export CGO_ENABLED ?= 0
|
||||
|
||||
capdef_file = ./irc/caps/defs.go
|
||||
|
||||
all: install
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue