aboutsummaryrefslogtreecommitdiff
path: root/scripts/populate.in
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2015-05-31 21:17:17 +0200
committerYann E. MORIN <yann.morin.1998@free.fr>2015-05-31 21:23:36 +0200
commitfb321268f727d80f3e3d140d269fd8bef442ca8b (patch)
treef4623ea3df6178934f7cefc0d549a51ace2ef4f9 /scripts/populate.in
parenta878419d5aa7139adad39ba006065e6898907083 (diff)
downloadcrosstool-ng-fb321268f727d80f3e3d140d269fd8bef442ca8b.tar.gz
crosstool-ng-fb321268f727d80f3e3d140d269fd8bef442ca8b.tar.bz2
crosstool-ng-fb321268f727d80f3e3d140d269fd8bef442ca8b.zip
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>
Diffstat (limited to 'scripts/populate.in')
-rw-r--r--scripts/populate.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/populate.in b/scripts/populate.in
index 9aa3ee9f..8f476e3c 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}"