The Samba-Bugzilla – Attachment 12901 Details for
Bug 12529
The location of pkg-config is not configurable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git-am firx for 4.5.next and 4.6.next
pkg-config-location.patch (text/plain), 1.44 KB, created by
Uri Simchoni
on 2017-02-02 22:45:09 UTC
(
hide
)
Description:
git-am firx for 4.5.next and 4.6.next
Filename:
MIME Type:
Creator:
Uri Simchoni
Created:
2017-02-02 22:45:09 UTC
Size:
1.44 KB
patch
obsolete
>From f8a7496a15fd3fd442d7b5f6674a6037aa1fdf5c Mon Sep 17 00:00:00 2001 >From: Uri Simchoni <uri@samba.org> >Date: Thu, 19 Jan 2017 07:46:57 +0200 >Subject: [PATCH] waf: backport finding of pkg-config > >Allow the builder to customize the location of pkg-config >utility by setting PKGCONFIG environment variable. > >This is backported from upstream waf. > >Thanks to Zentaro Kavanagh <zentaro@google.com> for >pointing that out and proposing the fix. > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=12529 > >Signed-off-by: Uri Simchoni <uri@samba.org> >Reviewed-by: Jeremy Allison <jra@samba.org> > >Autobuild-User(master): Jeremy Allison <jra@samba.org> >Autobuild-Date(master): Wed Jan 25 04:23:00 CET 2017 on sn-devel-144 > >(cherry picked from commit 2cf141ed45b4f7b7754cb9525d987ff38495d789) >--- > third_party/waf/wafadmin/Tools/config_c.py | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/third_party/waf/wafadmin/Tools/config_c.py b/third_party/waf/wafadmin/Tools/config_c.py >index 3ab447c..cdf3b3e 100644 >--- a/third_party/waf/wafadmin/Tools/config_c.py >+++ b/third_party/waf/wafadmin/Tools/config_c.py >@@ -106,7 +106,9 @@ def ret_msg(self, f, kw): > @conf > def validate_cfg(self, kw): > if not 'path' in kw: >- kw['path'] = 'pkg-config --errors-to-stdout --print-errors' >+ if not self.env.PKGCONFIG: >+ self.find_program('pkg-config', var='PKGCONFIG') >+ kw['path'] = self.env.PKGCONFIG > > # pkg-config version > if 'atleast_pkgconfig_version' in kw: >-- >2.9.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
jra
:
review+
Actions:
View
Attachments on
bug 12529
: 12901