summaryrefslogtreecommitdiffstats
path: root/build/common.gypi
diff options
context:
space:
mode:
authordongseong.hwang@intel.com <dongseong.hwang@intel.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-24 08:24:51 +0000
committerdongseong.hwang@intel.com <dongseong.hwang@intel.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-24 08:24:51 +0000
commitebb701b750310132ec3a28fbf23bfa60b6bf29ad (patch)
tree3908548965adb288aaf2f97c7ab17e0e8776af65 /build/common.gypi
parentbd3e543f6f33cf729f260e9b31dc6ff0bd7dd9d6 (diff)
downloadchromium_src-ebb701b750310132ec3a28fbf23bfa60b6bf29ad.zip
chromium_src-ebb701b750310132ec3a28fbf23bfa60b6bf29ad.tar.gz
chromium_src-ebb701b750310132ec3a28fbf23bfa60b6bf29ad.tar.bz2
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: svn://svn.chromium.org/chrome/trunk/src@265880 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/common.gypi')
-rw-r--r--build/common.gypi5
1 files changed, 4 insertions, 1 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 99d4100..a5097e3 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -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