summaryrefslogtreecommitdiffhomepage
path: root/auto/modules/php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--auto/modules/php8
1 files changed, 4 insertions, 4 deletions
diff --git a/auto/modules/php b/auto/modules/php
index 21dec215..a0f5379c 100644
--- a/auto/modules/php
+++ b/auto/modules/php
@@ -265,10 +265,10 @@ cat << END >> $NXT_MAKEFILE
all: ${NXT_PHP_MODULE}
-${NXT_PHP_MODULE}: $NXT_BUILD_DIR/${NXT_PHP_MODULE}.unit.so
+${NXT_PHP_MODULE}: $NXT_BUILD_DIR/lib/unit/modules/${NXT_PHP_MODULE}.unit.so
-$NXT_BUILD_DIR/${NXT_PHP_MODULE}.unit.so: $nxt_objs
- \$(NXT_MODULE_LINK) -o $NXT_BUILD_DIR/${NXT_PHP_MODULE}.unit.so \\
+$NXT_BUILD_DIR/lib/unit/modules/${NXT_PHP_MODULE}.unit.so: $nxt_objs
+ \$(NXT_MODULE_LINK) -o \$@ \\
$nxt_objs ${NXT_PHP_LIB} ${NXT_PHP_LDFLAGS} $NXT_LD_OPT
@@ -276,7 +276,7 @@ install: ${NXT_PHP_MODULE}-install
${NXT_PHP_MODULE}-install: ${NXT_PHP_MODULE} install-check
install -d \$(DESTDIR)$NXT_MODULESDIR
- install -p $NXT_BUILD_DIR/${NXT_PHP_MODULE}.unit.so \\
+ install -p $NXT_BUILD_DIR/lib/unit/modules/${NXT_PHP_MODULE}.unit.so \\
\$(DESTDIR)$NXT_MODULESDIR/