libtree-ldd: fix libpath on 64-bit systems
This commit is contained in:
parent
dfeac44fac
commit
47086b732a
|
@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Like ldd(1), but prints a tree(1) like output"
|
|||
TERMUX_PKG_LICENSE="MIT"
|
||||
TERMUX_PKG_MAINTAINER="@flosnvjx"
|
||||
TERMUX_PKG_VERSION=3.1.1
|
||||
TERMUX_PKG_REVISION=1
|
||||
TERMUX_PKG_SRCURL=https://github.com/haampie/libtree/archive/refs/tags/v"$TERMUX_PKG_VERSION".tar.gz
|
||||
TERMUX_PKG_SHA256=6148436f54296945d22420254dd78e1829d60124bb2f5b9881320a6550f73f5c
|
||||
TERMUX_PKG_DEPENDS="libandroid-glob"
|
||||
|
|
|
@ -7,7 +7,7 @@ index e0d0133..0fe311b 100644
|
|||
s->default_paths_offset = s->string_table.n;
|
||||
// TODO: how to retrieve this list properly at runtime?
|
||||
- string_table_store(&s->string_table, "/lib:/lib64:/usr/lib:/usr/lib64");
|
||||
+ string_table_store(&s->string_table, "@TERMUX_PREFIX@/lib:/system/lib:/usr/lib:/usr/lib64:/lib:/lib64");
|
||||
+ string_table_store(&s->string_table, "@TERMUX_PREFIX@/lib:/system/lib:/system/lib64:/usr/lib:/usr/lib64:/lib:/lib64");
|
||||
}
|
||||
|
||||
static void libtree_state_init(struct libtree_state_t *s) {
|
||||
|
|
Loading…
Reference in New Issue