mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 01:44:32 +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
|
--without-pam
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CONFIGURE_VARS += LD="$(TARGET_CC)"
|
CONFIGURE_VARS += LD="$(TARGET_CC)" PATH_PASSWD_PROG="/bin/passwd"
|
||||||
|
|
||||||
ifeq ($(BUILD_VARIANT),with-pam)
|
ifeq ($(BUILD_VARIANT),with-pam)
|
||||||
TARGET_LDFLAGS += -lpthread
|
TARGET_LDFLAGS += -lpthread
|
||||||
|
|||||||
Reference in New Issue
Block a user