From 52ae0e69c14cb65223e23b533e0753fe8aa1e971 Mon Sep 17 00:00:00 2001 From: Max Romanov Date: Tue, 29 Aug 2017 11:33:35 -0700 Subject: Store and use NXT_LIBRT for go module. --- auto/modules/go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'auto/modules') 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 -- cgit