summaryrefslogtreecommitdiffhomepage
path: root/auto/modules/nodejs
diff options
context:
space:
mode:
authorAlexander Borisov <alexander.borisov@nginx.com>2018-12-19 15:56:54 +0300
committerAlexander Borisov <alexander.borisov@nginx.com>2018-12-19 15:56:54 +0300
commitc55f329ecf8d32bad0d5bc2aae1da1522b3a92f8 (patch)
tree5b9c5aaf624e9feec60dd332aa32ec414c88c234 /auto/modules/nodejs
parentab461437b5714d75e710febe3b44da49ebfe83fc (diff)
downloadunit-c55f329ecf8d32bad0d5bc2aae1da1522b3a92f8.tar.gz
unit-c55f329ecf8d32bad0d5bc2aae1da1522b3a92f8.tar.bz2
libunit: added generation of version header file.
Diffstat (limited to 'auto/modules/nodejs')
-rw-r--r--auto/modules/nodejs5
1 files changed, 3 insertions, 2 deletions
diff --git a/auto/modules/nodejs b/auto/modules/nodejs
index 96ef6b98..d140eff1 100644
--- a/auto/modules/nodejs
+++ b/auto/modules/nodejs
@@ -123,8 +123,9 @@ fi
NXT_NODE_TMP=${NXT_BUILD_DIR}/src/${NXT_NODE}/unit-http
NXT_NODE_TARBALL=${NXT_BUILD_DIR}/${NXT_NODE}-unit-http.tar.gz
-NXT_NODE_EXPORTS="export UNIT_SRC_PATH=${PWD}/src && \
- export UNIT_LIB_STATIC_PATH=${PWD}/${NXT_BUILD_DIR}/libunit.a"
+NXT_NODE_EXPORTS="export UNIT_SRC_PATH=${PWD}/src \
+ && export UNIT_BUILD_PATH=${PWD}/${NXT_BUILD_DIR} \
+ && export UNIT_LIB_STATIC_PATH=${PWD}/${NXT_BUILD_DIR}/libunit.a"
if [ -n "$NXT_NODE_LOCAL" ]; then
NXT_NODE_INSTALL=local-install