diff options
author | Thomas Orgis | 2020-08-30 13:26:35 +0200 |
---|---|---|
committer | Thomas Orgis | 2020-08-30 13:26:35 +0200 |
commit | 920933f4e6bd77b92db0f00d42d019b06e02f2fa (patch) | |
tree | 6a63f96ab56b582af08769c4b2409984956dc83d /shell-term-fm | |
parent | f5e4d9162f70b8a05dc2e4a48d161b789d2b7132 (diff) |
busybox: fix library linking
At least on my setup (as-needed?), explicit naming of those extra libs is
necessary or busybox won't build.
Diffstat (limited to 'shell-term-fm')
-rwxr-xr-x | shell-term-fm/busybox/BUILD | 9 | ||||
-rw-r--r-- | shell-term-fm/busybox/HISTORY | 1 |
2 files changed, 8 insertions, 2 deletions
diff --git a/shell-term-fm/busybox/BUILD b/shell-term-fm/busybox/BUILD index 2af791db38..844f377e20 100755 --- a/shell-term-fm/busybox/BUILD +++ b/shell-term-fm/busybox/BUILD @@ -1,2 +1,7 @@ -CFLAGS="${CFLAGS} -isystem /usr/include/tirpc" && -default_build_make +CFLAGS="${CFLAGS} -isystem /usr/include/tirpc" && +# Some library linking needs to be enforced (static build, as-needed, maybe). +extralibs="pthread tirpc" && +if is_depends_enabled "$SPELL" linux-pam; then + extralibs+=" pam" +fi && +make CONFIG_EXTRA_LDLIBS="$extralibs" diff --git a/shell-term-fm/busybox/HISTORY b/shell-term-fm/busybox/HISTORY index 3d6fa71864..5f3b39a375 100644 --- a/shell-term-fm/busybox/HISTORY +++ b/shell-term-fm/busybox/HISTORY @@ -2,6 +2,7 @@ * PRE_BUILD: ensure non-interative oldconfig, build halting at that point for questions is unacceptable (and happens depending on stored config) + * BUILD: link more explicitly (needed on my setup at least) 2020-08-22 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de> * DETAILS: version 1.31.1 |