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

Issue 1291803008: pkg-config.py should use --libs instead (Closed)

Created:
5 years, 4 months ago by Mostyn Bramley-Moore
Modified:
5 years, 4 months ago
Reviewers:
brettw
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

pkg-config.py should use --libs instead of --libs-only-l --libs-only-L When specifying both --libs-only-l and --libs-only-L to pkg-config, the results from the latter are not included. This feels like a bug in pkg-config, reported upstream: https://bugs.freedesktop.org/show_bug.cgi?id=91689 Our pkg-config.py wrapper can use --libs instead of the flags mentioned above- this includes flags from both but maybe also some additional flags (eg -rdynamic). BUG=522564 Committed: https://crrev.com/f5c7b1a39088d8b2f78132b5488319d986abd16a Cr-Commit-Position: refs/heads/master@{#344260}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M build/config/linux/pkg-config.py View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 15 (4 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1291803008/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1291803008/1
5 years, 4 months ago (2015-08-19 15:38:04 UTC) #2
Mostyn Bramley-Moore
@brettw: does this look OK to you? Another option would be to call pkg-config multiple ...
5 years, 4 months ago (2015-08-19 15:41:24 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 4 months ago (2015-08-19 15:50:28 UTC) #6
brettw
Do you know if the -rdynamic happens in practice or was that just an example ...
5 years, 4 months ago (2015-08-19 16:56:56 UTC) #7
brettw
(I don't like calling it twice, pkg-config is super slow!)
5 years, 4 months ago (2015-08-19 16:57:31 UTC) #8
Mostyn Bramley-Moore
On 2015/08/19 16:56:56, brettw wrote: > Do you know if the -rdynamic happens in practice ...
5 years, 4 months ago (2015-08-19 17:05:56 UTC) #9
brettw
Okay, sounds fine. LGTM
5 years, 4 months ago (2015-08-19 17:06:53 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1291803008/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1291803008/1
5 years, 4 months ago (2015-08-19 17:11:16 UTC) #12
Mostyn Bramley-Moore
Thanks. Added a tracking bug in case this breaks something.
5 years, 4 months ago (2015-08-19 17:11:25 UTC) #13
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 4 months ago (2015-08-19 17:16:56 UTC) #14
commit-bot: I haz the power
5 years, 4 months ago (2015-08-19 17:17:42 UTC) #15
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/f5c7b1a39088d8b2f78132b5488319d986abd16a
Cr-Commit-Position: refs/heads/master@{#344260}

Powered by Google App Engine
This is Rietveld 408576698