From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnout Vandecappelle Date: Tue, 1 Mar 2016 22:12:45 +0100 Subject: [Buildroot] [PATCH] pkgconf: Add a symlink to the GNU_TARGET_NAME-pkg-config In-Reply-To: <20160229213520.2b6e6ee7@free-electrons.com> References: <1456770170-6326-1-git-send-email-jer@airfi.aero> <20160229213520.2b6e6ee7@free-electrons.com> Message-ID: <56D605CD.1070008@mind.be> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On 02/29/16 21:35, Thomas Petazzoni wrote: [snip] > What I dislike with the current setup is that if you add > $(HOST_DIR)/usr/bin to your PATH, then any call to pkg-config returns > values that are valid only when cross-compiling, which is not > necessarily what one would expect. For exactly this reason I would like to introduce a config-script directory, e.g. $(HOST_DIR)/usr/cross-bin. In this directory we would put the cross-pkg-config and the fixed up config scripts we now search for in $(STAGING_DIR)/usr/bin. Regards, Arnout > > However, doing this change means that any configure script or Makefile > that calls pkg-config directly would no longer find our pkg-config. > > Best regards, > > Thomas > -- Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF