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@gmail.com>
This commit is contained in:
parent
57657a7237
commit
200d932322
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ define Package/libc/config
|
||||||
string
|
string
|
||||||
prompt "libc shared library files (use wildcards)"
|
prompt "libc shared library files (use wildcards)"
|
||||||
depends on EXTERNAL_TOOLCHAIN && PACKAGE_libc
|
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
|
endmenu
|
||||||
endef
|
endef
|
||||||
|
|
Loading…
Reference in a new issue