summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--auto/modules/php8
-rw-r--r--auto/modules/python8
-rw-r--r--src/nxt_runtime.c2
3 files changed, 9 insertions, 9 deletions
diff --git a/auto/modules/php b/auto/modules/php
index a941b658..c8da3fe9 100644
--- a/auto/modules/php
+++ b/auto/modules/php
@@ -118,7 +118,7 @@ if grep ^$NXT_PHP_MODULE: $NXT_MAKEFILE 2>&1 > /dev/null; then
exit 1;
fi
-$echo " + PHP module: unit.${NXT_PHP_MODULE}"
+$echo " + PHP module: ${NXT_PHP_MODULE}.unit.so"
$echo >> $NXT_MAKEFILE
@@ -152,10 +152,10 @@ cat << END >> $NXT_MAKEFILE
all: ${NXT_PHP_MODULE}
-${NXT_PHP_MODULE}: $NXT_BUILD_DIR/unit.${NXT_PHP_MODULE}
+${NXT_PHP_MODULE}: $NXT_BUILD_DIR/${NXT_PHP_MODULE}.unit.so
-$NXT_BUILD_DIR/unit.${NXT_PHP_MODULE}: $nxt_objs
- $NXT_MODULE_LINK -o $NXT_BUILD_DIR/unit.${NXT_PHP_MODULE} \\
+$NXT_BUILD_DIR/${NXT_PHP_MODULE}.unit.so: $nxt_objs
+ $NXT_MODULE_LINK -o $NXT_BUILD_DIR/${NXT_PHP_MODULE}.unit.so \\
$nxt_objs ${NXT_PHP_LIB} ${NXT_PHP_LDFLAGS}
END
diff --git a/auto/modules/python b/auto/modules/python
index 1034be82..ba272999 100644
--- a/auto/modules/python
+++ b/auto/modules/python
@@ -115,7 +115,7 @@ if grep ^$NXT_PYTHON_MODULE: $NXT_MAKEFILE 2>&1 > /dev/null; then
exit 1;
fi
-$echo " + Python module: unit.${NXT_PYTHON_MODULE}"
+$echo " + Python module: ${NXT_PYTHON_MODULE}.unit.so"
$echo >> $NXT_MAKEFILE
@@ -149,10 +149,10 @@ cat << END >> $NXT_MAKEFILE
all: ${NXT_PYTHON_MODULE}
-${NXT_PYTHON_MODULE}: $NXT_BUILD_DIR/unit.${NXT_PYTHON_MODULE}
+${NXT_PYTHON_MODULE}: $NXT_BUILD_DIR/${NXT_PYTHON_MODULE}.unit.so
-$NXT_BUILD_DIR/unit.${NXT_PYTHON_MODULE}: $nxt_objs
- $NXT_MODULE_LINK -o $NXT_BUILD_DIR/unit.${NXT_PYTHON_MODULE} \\
+$NXT_BUILD_DIR/${NXT_PYTHON_MODULE}.unit.so: $nxt_objs
+ $NXT_MODULE_LINK -o $NXT_BUILD_DIR/${NXT_PYTHON_MODULE}.unit.so \\
$nxt_objs $NXT_PYTHON_LIBS
END
diff --git a/src/nxt_runtime.c b/src/nxt_runtime.c
index d9dfa3a5..d18eab0a 100644
--- a/src/nxt_runtime.c
+++ b/src/nxt_runtime.c
@@ -763,7 +763,7 @@ nxt_runtime_conf_init(nxt_task_t *task, nxt_runtime_t *rt)
slash = "/";
}
- ret = nxt_file_name_create(rt->mem_pool, &file_name, "%s%sunit.*%Z",
+ ret = nxt_file_name_create(rt->mem_pool, &file_name, "%s%s*.unit.so%Z",
rt->modules, slash);
if (nxt_slow_path(ret != NXT_OK)) {
return NXT_ERROR;