summaryrefslogtreecommitdiffhomepage
path: root/auto/modules
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2017-08-29 14:18:00 -0700
committerMax Romanov <max.romanov@nginx.com>2017-08-29 14:18:00 -0700
commit92f3b852981c739a2e6ff6d50dc646fe86031b27 (patch)
tree4d6277f1e9e6a39a7250a181acb4697ee4b034bd /auto/modules
parent6de7cc86344fff319d47f4e3656b7df2bef3283a (diff)
downloadunit-92f3b852981c739a2e6ff6d50dc646fe86031b27.tar.gz
unit-92f3b852981c739a2e6ff6d50dc646fe86031b27.tar.bz2
The process type enum exposed to go module.
Diffstat (limited to 'auto/modules')
-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"