After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 746669 - [patch] Do not assume the name of pkg-config
[patch] Do not assume the name of pkg-config
Status: RESOLVED FIXED
Product: gobject-introspection
Classification: Platform
Component: build
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gobject-introspection Maintainer(s)
gobject-introspection Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2015-03-23 22:13 UTC by Saleem Abdulrasool
Modified: 2015-03-24 18:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
0001-build-use-the-detected-pkg-config.patch (3.22 KB, patch)
2015-03-23 22:13 UTC, Saleem Abdulrasool
committed Details | Review

Description Saleem Abdulrasool 2015-03-23 22:13:01 UTC
Created attachment 300156 [details] [review]
0001-build-use-the-detected-pkg-config.patch

dieterv and ricotz ack'ed this on IRC; I intended to push it, but seem to be having issues access (due to inactivity).

Attached is the patch.
Comment 1 Rico Tzschichholz 2015-03-24 09:13:31 UTC
Pushed to master branch

commit 0f210321c4afdcf70debba42bebf5077932d7056
Author: Saleem Abdulrasool <compnerd@compnerd.org>
Date:   Sun Mar 22 14:04:56 2015 -0700

    build: use the detected pkg-config
    
    Rather than assuming that pkg-config is spelt pkg-config, use the environment
    variable $PKG_CONFIG which is the actual detected pkg-config spelling.  This is
    particularly important when cross-compiling, where the pkg-config may be
    prefixed with the target and will actually provide a different result from the
    build pkg-config which may be available unprefixed.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=746669