diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2015-05-31 21:17:17 +0200 |
---|---|---|
committer | Yann E. MORIN <yann.morin.1998@free.fr> | 2015-05-31 21:23:36 +0200 |
commit | fb321268f727d80f3e3d140d269fd8bef442ca8b (patch) | |
tree | f4623ea3df6178934f7cefc0d549a51ace2ef4f9 /scripts/populate.in | |
parent | a878419d5aa7139adad39ba006065e6898907083 (diff) | |
download | crosstool-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.in | 4 |
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}" |