summaryrefslogtreecommitdiff
path: root/package/libs
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2016-12-31 16:13:35 -0800
committerJo-Philipp Wich <jo@mein.io>2017-12-13 14:15:08 +0100
commitc566a9e563837ec55d8e8739190a90337948143d (patch)
treef6ec83464cefe1cbbaa05a235cef64d0aca894a9 /package/libs
parent3387158e45b1c0e329617d265392974b121230e7 (diff)
downloadmtk-20170518-c566a9e563837ec55d8e8739190a90337948143d.zip
mtk-20170518-c566a9e563837ec55d8e8739190a90337948143d.tar.gz
mtk-20170518-c566a9e563837ec55d8e8739190a90337948143d.tar.bz2
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> (cherry picked from commit 200d932322f3d8c436a67c53f4fbca87f0aab8af)
Diffstat (limited to 'package/libs')
-rw-r--r--package/libs/toolchain/Makefile2
1 files changed, 1 insertions, 1 deletions
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