bash: make dependency from ld.lib.so explicit

This patch is a workaround for the apparent problem that noux
applications, which perform execve, implicitly use functionality from
the dynamic linker, not explicitly via the libc. If the binary lacks the
dependency information, noux will fail on the execve attempt. The latter
is the case when the noux package is built as a depot archive where
library dependencies are not traversed over multiple levels.
This commit is contained in:
Norman Feske 2017-09-06 21:14:29 +02:00 committed by Christian Helmuth
parent 796810ea06
commit ea21576eac
2 changed files with 3 additions and 0 deletions

View File

@ -1,3 +1,4 @@
base
libc
noux
posix

View File

@ -11,4 +11,6 @@ CFLAGS += -DNO_MAIN_ENV_ARG=1
# Prevent interactions with nonexisting tty driver
CFLAGS += -DNO_TTY_DRIVER
LIBS += ld
include $(call select_from_repositories,mk/noux.mk)