summaryrefslogtreecommitdiffhomepage
path: root/auto/modules/go
diff options
context:
space:
mode:
authorAlexander Borisov <alexander.borisov@nginx.com>2019-01-21 18:13:00 +0300
committerAlexander Borisov <alexander.borisov@nginx.com>2019-01-21 18:13:00 +0300
commit52c1895cd21c50a1a74b925c8dca1d0075d79970 (patch)
tree79b3aa473281c186fe37639f1d927ac5df6db946 /auto/modules/go
parent627b116c4db8d7b0b9cb4e15486bd2847d03ee8a (diff)
downloadunit-52c1895cd21c50a1a74b925c8dca1d0075d79970.tar.gz
unit-52c1895cd21c50a1a74b925c8dca1d0075d79970.tar.bz2
Go: fixed module installation, broken in ed8b1aaefdd1.
Added the nxt_unit_version.h dependency. This closes #214 issue on GitHub.
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 7abd1e73..e9b2321d 100644
--- a/auto/modules/go
+++ b/auto/modules/go
@@ -103,7 +103,7 @@ ${NXT_GO}:
${NXT_GO}-install: ${NXT_GO}-install-build
-${NXT_GO}-install-src:
+${NXT_GO}-install-src: ${NXT_BUILD_DIR}/nxt_unit_version.h
install -d \$(DESTDIR)\$(NXT_GO_DST)/src/nginx/unit
install -p -m644 ./src/*.h ./build/*.h ./src/go/unit/* \
./src/nxt_unit.c ./src/nxt_lvlhsh.c ./src/nxt_murmur_hash.c \