summaryrefslogtreecommitdiffhomepage
path: root/pkg/deb/debian/rules.in
diff options
context:
space:
mode:
authorKonstantin Pavlov <thresh@nginx.com>2023-02-06 12:39:06 -0800
committerKonstantin Pavlov <thresh@nginx.com>2023-02-06 12:39:06 -0800
commitb0bb829107094a64ed6c93b88b6ed4847bd3fa53 (patch)
tree1bc9edd557e3bf43d9726262db7b63baae16683d /pkg/deb/debian/rules.in
parent789762ff3d88a1c006babc7a8e7037e0976ad70f (diff)
downloadunit-b0bb829107094a64ed6c93b88b6ed4847bd3fa53.tar.gz
unit-b0bb829107094a64ed6c93b88b6ed4847bd3fa53.tar.bz2
Packages: get rid of deprecated configure options.
Diffstat (limited to 'pkg/deb/debian/rules.in')
-rw-r--r--pkg/deb/debian/rules.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/deb/debian/rules.in b/pkg/deb/debian/rules.in
index 23812926..0fe34b72 100644
--- a/pkg/deb/debian/rules.in
+++ b/pkg/deb/debian/rules.in
@@ -48,7 +48,7 @@ configure.unit: config.env.unit
PKG_CONFIG_PATH=$(CURDIR)/pkg/contrib/njs/build \
CFLAGS= ./configure \
%%CONFIGURE_ARGS%% \
- --modules=/usr/lib/unit/modules \
+ --modulesdir=/usr/lib/unit/modules \
--libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \
--cc-opt="$(CFLAGS)" \
--ld-opt="$(LDFLAGS)"
@@ -59,7 +59,7 @@ configure.unit_debug: config.env.unit_debug
PKG_CONFIG_PATH=$(CURDIR)/pkg/contrib/njs/build \
CFLAGS= ./configure \
%%CONFIGURE_ARGS%% \
- --modules=/usr/lib/unit/debug-modules \
+ --modulesdir=/usr/lib/unit/debug-modules \
--libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \
--cc-opt="$(CFLAGS)" \
--ld-opt="$(LDFLAGS)" \