summaryrefslogtreecommitdiffhomepage
path: root/auto/modules/go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--auto/modules/go2
1 files changed, 1 insertions, 1 deletions
diff --git a/auto/modules/go b/auto/modules/go
index dcbc63a5..ea1a5343 100644
--- a/auto/modules/go
+++ b/auto/modules/go
@@ -108,7 +108,7 @@ ${NXT_GO}:
install -p ./src/nginext/*.c ./src/nginext/*.h \\
./src/nginext/*.go \$(GOPATH)/src/nginext/
CGO_CFLAGS="-I\$(NXT_ROOT)/build -I\$(NXT_ROOT)/src" \\
- CGO_LDFLAGS="-L\$(NXT_ROOT)/build" \\
+ CGO_LDFLAGS="-L\$(NXT_ROOT)/build ${NXT_LIBRT}" \\
GOPATH=$NXT_GO_PATH \\
go install -v nginext