mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 19:14:30 +04: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user