1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-14 19:33:59 +02:00

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>
This commit is contained in:
Rucke Teg 2022-02-10 23:04:43 +01:00 committed by Rosen Penev
parent fb113c5a70
commit f2a8fc48c5

View File

@ -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