Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1160)

Issue 656014: Add '-ldl' to Linux targets that use dynamic loader functions. (Closed)

Created:
10 years, 10 months ago by Michael Moss
Modified:
9 years, 7 months ago
Reviewers:
Lei Zhang, Evan Martin
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

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.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -0 lines) Patch
M base/base.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 chunk +6 lines, -0 lines 0 comments Download
M gpu/gpu.gyp View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Michael Moss
This probably doesn't catch all the instances where we should be explicit about '-ldl', but ...
10 years, 10 months ago (2010-02-23 19:10:47 UTC) #1
Lei Zhang
LGTM
10 years, 10 months ago (2010-02-23 19:16:14 UTC) #2
Evan Martin
10 years, 10 months ago (2010-02-23 21:17:14 UTC) #3
LGTM++

Powered by Google App Engine
This is Rietveld 408576698