Skip to content

Commit

Permalink
Merge pull request #2025 from slingamn/cgo
Browse files Browse the repository at this point in the history
Fix #2023 (disable dynamic linking by default)
  • Loading branch information
slingamn authored Dec 26, 2022
2 parents f6f7315 + f00fd45 commit 4b3a6cb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4b3a6cb

Please sign in to comment.