aboutsummaryrefslogtreecommitdiff
path: root/net/openssh/Makefile
diff options
context:
space:
mode:
authorRucke Teg <rucketeg@protonmail.com>2022-02-10 23:04:43 +0100
committerRosen Penev <rosenp@gmail.com>2022-02-10 21:10:08 -0800
commitf2a8fc48c5eaef165daa76225230c1e9caff0ece (patch)
tree34879d4f1596bfa191a460d3c913ee281601c5f5 /net/openssh/Makefile
parentfb113c5a706b26af57463877791fa32314b07b78 (diff)
openssh-server: manually set path to passwd binary
In the build environment the autotools finds the `passwd` binary in /usr/bin. But in the target image it is available under /bin instead. Manually set the path to `passwd` binary to `/bin/passwd` Signed-off-by: Rucke Teg <rucketeg@protonmail.com>
Diffstat (limited to 'net/openssh/Makefile')
-rw-r--r--net/openssh/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/openssh/Makefile b/net/openssh/Makefile
index d384a2052..6ba72bf70 100644
--- a/net/openssh/Makefile
+++ b/net/openssh/Makefile
@@ -183,7 +183,7 @@ CONFIGURE_ARGS += \
--without-pam
endif
-CONFIGURE_VARS += LD="$(TARGET_CC)"
+CONFIGURE_VARS += LD="$(TARGET_CC)" PATH_PASSWD_PROG="/bin/passwd"
ifeq ($(BUILD_VARIANT),with-pam)
TARGET_LDFLAGS += -lpthread