diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-02-23 17:55:03 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-02-24 11:04:27 +0000 |
commit | c7b6eb9e8ec5501bf872c7d7af7da303af0f7670 (patch) | |
tree | 64fc9097763721dbe3fedea1c12abfdbabb07848 /meta/recipes-devtools/binutils | |
parent | 1ae0e69aed235d8abda634328cd44323a5b10608 (diff) | |
download | poky-c7b6eb9e8ec5501bf872c7d7af7da303af0f7670.tar.gz |
binutils: Fix nativesdk ld.so search
Currently binutils in buildtools is searching for /etc/etc/ld.so.conf
which makes no sense. ld_sysconfdir already contains /etc so we need to
drop the /etc from the fixed string.
(From OE-Core rev: ccd28c418ab8390118d738fbe914395b5c2a1f75)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/binutils')
-rw-r--r-- | meta/recipes-devtools/binutils/binutils/0003-binutils-nativesdk-Search-for-alternative-ld.so.conf.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/binutils/binutils/0003-binutils-nativesdk-Search-for-alternative-ld.so.conf.patch b/meta/recipes-devtools/binutils/binutils/0003-binutils-nativesdk-Search-for-alternative-ld.so.conf.patch index 8e5e2be81d..54967b9362 100644 --- a/meta/recipes-devtools/binutils/binutils/0003-binutils-nativesdk-Search-for-alternative-ld.so.conf.patch +++ b/meta/recipes-devtools/binutils/binutils/0003-binutils-nativesdk-Search-for-alternative-ld.so.conf.patch | |||
@@ -65,7 +65,7 @@ index eff6693e052..95787012b89 100644 | |||
65 | info.path = NULL; | 65 | info.path = NULL; |
66 | info.len = info.alloc = 0; | 66 | info.len = info.alloc = 0; |
67 | - tmppath = concat (ld_sysroot, prefix, "/etc/ld.so.conf", | 67 | - tmppath = concat (ld_sysroot, prefix, "/etc/ld.so.conf", |
68 | + tmppath = concat (ld_sysconfdir, "/etc/ld.so.conf", | 68 | + tmppath = concat (ld_sysconfdir, "/ld.so.conf", |
69 | (const char *) NULL); | 69 | (const char *) NULL); |
70 | if (!ldelf_parse_ld_so_conf (&info, tmppath)) | 70 | if (!ldelf_parse_ld_so_conf (&info, tmppath)) |
71 | { | 71 | { |