summaryrefslogtreecommitdiffhomepage
path: root/auto/modules/go
diff options
context:
space:
mode:
Diffstat (limited to 'auto/modules/go')
-rw-r--r--auto/modules/go2
1 files changed, 1 insertions, 1 deletions
diff --git a/auto/modules/go b/auto/modules/go
index b771de8a..96e9e12d 100644
--- a/auto/modules/go
+++ b/auto/modules/go
@@ -56,7 +56,7 @@ $echo "configuring Go package ..." >> $NXT_AUTOCONF_ERR
$echo -n "checking for Go ..."
$echo "checking for Go ..." >> $NXT_AUTOCONF_ERR
-nxt_go_test="GOPATH=`pwd` CGO_CPPFLAGS=-DNXT_CONFIGURE \
+nxt_go_test="GOPATH=`pwd` CGO_CPPFLAGS='-DNXT_CONFIGURE -I`pwd`/src'\
\"${NXT_GO}\" build -o build/nxt_go_gen.a --buildmode=c-archive nginext"