summaryrefslogtreecommitdiffhomepage
path: root/auto/modules
diff options
context:
space:
mode:
Diffstat (limited to 'auto/modules')
-rw-r--r--auto/modules/php8
-rw-r--r--auto/modules/python8
2 files changed, 8 insertions, 8 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