From 524f1cfdea8f21922f116fbe96dcd0f71663f4dc Mon Sep 17 00:00:00 2001 From: "mmoss@google.com" Date: Tue, 23 Feb 2010 19:21:53 +0000 Subject: Add '-ldl' to Linux targets that use dynamic loader functions. This fixes compilation errors on Karmic, where dlopen() and friends were undefined: http://chrome-buildbot.corp.google.com:8016/builders/Chromium%20Linux%20Builder%20(dbg-shlib)/builds/7777/steps/compile/logs/stdio The missing '-ldl' is papered over on Hardy because pretty much everything depends on gtk, which brings that in through pkg-config, but pkg-config gtk no longer includes '-ldl' on Karmic. Review URL: http://codereview.chromium.org/656014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39754 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/chrome_browser.gypi | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'chrome/chrome_browser.gypi') diff --git a/chrome/chrome_browser.gypi b/chrome/chrome_browser.gypi index 53eb819..2a19c89 100755 --- a/chrome/chrome_browser.gypi +++ b/chrome/chrome_browser.gypi @@ -2207,6 +2207,12 @@ '../build/linux/system.gyp:nss', '../base/base.gyp:linux_versioninfo', ], + 'link_settings': { + 'libraries': [ + # For dlsym() in 'browser/zygote_main_linux.cc' + '-ldl', + ], + }, 'sources!': [ # Exclude extension shelf for toolstrips. 'browser/views/extensions/extension_shelf.cc', -- cgit v1.1