Fix unresolved shared library dependency on binutils 2.23.

It fixes unresolved dependency as follows:
> ldd content_shell
        ...
	libsql.so => not found
	libbase_i18n.so => not found
        ...

Some binutils 2.23 releases may or may not have new dtags enabled,
but they are all compatible with --disable-new-dtags,
because the new dynamic tags are not created by default.
https://sourceware.org/binutils/docs-2.23/ld/Options.html#index-g_t_002d_002ddisable_002dnew_002ddtags-267

BUG=352046

Review URL: https://codereview.chromium.org/249073003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@265880 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
dongseong.hwang@intel.com 2014-04-24 08:24:51 +00:00
Родитель 69421b0cc3
Коммит d736e8fea1
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -3886,7 +3886,10 @@
'-B<!(cd <(DEPTH) && pwd -P)/<(binutils_dir)',
],
}],
['binutils_version>=224', {
# Some binutils 2.23 releases may or may not have new dtags enabled,
# but they are all compatible with --disable-new-dtags,
# because the new dynamic tags are not created by default.
['binutils_version>=223', {
# Newer binutils don't set DT_RPATH unless you disable "new" dtags
# and the new DT_RUNPATH doesn't work without --no-as-needed flag.
# FIXME(mithro): Figure out the --as-needed/--no-as-needed flags