소스 검색
Merge pull request #2025 from slingamn/cgo
Fix #2023 (disable dynamic linking by default)
tags/v2.12.0-rc1
Shivaram Lingamneni
1 년 전
No account linked to committer's email address
1개의 변경된 파일과
4개의 추가작업 그리고
0개의 파일을 삭제
-
Makefile
|
@@ -3,6 +3,10 @@
|
3
|
3
|
GIT_COMMIT := $(shell git rev-parse HEAD 2> /dev/null)
|
4
|
4
|
GIT_TAG := $(shell git tag --points-at HEAD 2> /dev/null | head -n 1)
|
5
|
5
|
|
|
6
|
+# disable linking against native libc / libpthread by default;
|
|
7
|
+# this can be overridden by passing CGO_ENABLED=1 to make
|
|
8
|
+export CGO_ENABLED ?= 0
|
|
9
|
+
|
6
|
10
|
capdef_file = ./irc/caps/defs.go
|
7
|
11
|
|
8
|
12
|
all: install
|