summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2015-05-31 19:17:17 (GMT)
committerYann E. MORIN <yann.morin.1998@free.fr>2015-05-31 19:23:36 (GMT)
commitfb321268f727d80f3e3d140d269fd8bef442ca8b (patch)
treef4623ea3df6178934f7cefc0d549a51ace2ef4f9
parenta878419d5aa7139adad39ba006065e6898907083 (diff)
populate: also search for gconv modules
The gconv modules are present in the (e)glibc toolchains, and some applications directly link with one or more of those modules (even though the classic way of using them is by dlopen()ing them). So, also look in /usr/lib/gconv when searching for libraries. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
-rw-r--r--scripts/populate.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/populate.in b/scripts/populate.in
index 9aa3ee9..8f476e3 100644
--- a/scripts/populate.in
+++ b/scripts/populate.in
@@ -184,13 +184,13 @@ do_add_lib() {
local dir
local mode
- for dir in lib usr/lib; do
+ for dir in lib usr/lib usr/lib/gconv; do
if [ -e "${dir}/${libname}" ]; then
${CT_PRINTF} " already present\n"
return 0
fi
done
- for dir in lib usr/lib; do
+ for dir in lib usr/lib usr/lib/gconv; do
${CT_PRINTF} " trying in '%s'" "${dir}"
libfile="${CT_SYSROOT_DIR}/${dir}/${libname}"
${CT_PRINTF} ": '%s'\n" "${libfile}"