From patchwork Mon Feb 29 18:22:50 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeroen Roovers X-Patchwork-Id: 590078 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id F01CB140B99 for ; Tue, 1 Mar 2016 05:30:35 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id DFD8095685; Mon, 29 Feb 2016 18:30:33 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q7NjE7PXAwA2; Mon, 29 Feb 2016 18:30:31 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 88D6595566; Mon, 29 Feb 2016 18:30:31 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 988701C16C7 for ; Mon, 29 Feb 2016 18:30:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 93A26920E0 for ; Mon, 29 Feb 2016 18:30:30 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id B4o0a+1pBp+g for ; Mon, 29 Feb 2016 18:30:29 +0000 (UTC) X-Greylist: delayed 00:07:30 by SQLgrey-1.7.6 Received: from lb1-smtp-cloud6.xs4all.net (lb1-smtp-cloud6.xs4all.net [194.109.24.24]) by whitealder.osuosl.org (Postfix) with ESMTPS id 780798C6DA for ; Mon, 29 Feb 2016 18:30:29 +0000 (UTC) Received: from rej.fritz.box ([212.238.182.54]) by smtp-cloud6.xs4all.net with ESMTP id QJNs1s00Z1ApoRw01JNw2U; Mon, 29 Feb 2016 19:22:57 +0100 From: Jeroen Roovers To: buildroot@busybox.net Date: Mon, 29 Feb 2016 19:22:50 +0100 Message-Id: <1456770170-6326-1-git-send-email-jer@airfi.aero> X-Mailer: git-send-email 2.4.10 Cc: Jeroen Roovers Subject: [Buildroot] [PATCH] pkgconf: Add a symlink to the GNU_TARGET_NAME-pkg-config X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Lots of packages start to call pkg-config "properly" and run into failures like this: * * System Logging Utilities * syslogd (SYSLOGD) [N/y/?] n klogd (KLOGD) [N/y/?] n logger (LOGGER) [Y/n/?] y make[2]: .../output/host/usr/bin/arm-buildroot-linux-gnueabihf-pkg-config: Command not found make[2]: .../output/host/usr/bin/arm-buildroot-linux-gnueabihf-pkg-config: Command not found make[1]: Leaving directory '.../output/build/busybox-1.24.1' By setting a symlink to the expected target we might even solve some real problems. --- package/pkgconf/pkgconf.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/pkgconf/pkgconf.mk b/package/pkgconf/pkgconf.mk index c8b0cba..a183a1c 100644 --- a/package/pkgconf/pkgconf.mk +++ b/package/pkgconf/pkgconf.mk @@ -22,6 +22,7 @@ define HOST_PKGCONF_INSTALL_WRAPPER $(SED) 's,@PKG_CONFIG_LIBDIR@,$(STAGING_DIR)/usr/lib/pkgconfig:$(STAGING_DIR)/usr/share/pkgconfig,' \ -e 's,@STAGING_DIR@,$(STAGING_DIR),' \ $(HOST_DIR)/usr/bin/pkg-config + ln -sf $(HOST_DIR)/usr/bin/pkg-config $(HOST_DIR)/usr/bin/$(GNU_TARGET_NAME)-pkg-config endef define HOST_PKGCONF_STATIC