[source] toolchain: Broaden the executable loader pattern
LEDE Commits
lede-commits at lists.infradead.org
Sun Jan 29 12:41:52 PST 2017
florian pushed a commit to source.git, branch master:
https://git.lede-project.org/200d932322f3d8c436a67c53f4fbca87f0aab8af
commit 200d932322f3d8c436a67c53f4fbca87f0aab8af
Author: Florian Fainelli <f.fainelli at gmail.com>
AuthorDate: Sat Dec 31 16:13:35 2016 -0800
toolchain: Broaden the executable loader pattern
Some toolchains will produce executables with an interpreter that is e.g:
ld.so.1 (typically a symbolic link). Due to our current LIBC_SPEC_FILE value,
we would not be able to copy this symbolic link/file over to the rootfs and
executables would fail to load. Extend the search pattern to include all
ld*.so* files that could be needed.
Signed-off-by: Florian Fainelli <f.fainelli at gmail.com>
---
package/libs/toolchain/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/libs/toolchain/Makefile b/package/libs/toolchain/Makefile
index 0101b81..4822ca7 100644
--- a/package/libs/toolchain/Makefile
+++ b/package/libs/toolchain/Makefile
@@ -164,7 +164,7 @@ define Package/libc/config
string
prompt "libc shared library files (use wildcards)"
depends on EXTERNAL_TOOLCHAIN && PACKAGE_libc
- default "./lib/ld{-*.so,-linux*.so.*} ./lib/lib{anl,c,cidn,crypt,dl,m,nsl,nss_dns,nss_files,resolv,util}{-*.so,.so.*}"
+ default "./lib/ld{*.so*,-linux*.so.*} ./lib/lib{anl,c,cidn,crypt,dl,m,nsl,nss_dns,nss_files,resolv,util}{-*.so,.so.*}"
endmenu
endef
More information about the lede-commits
mailing list