From patchwork Thu May 30 12:01:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 1107744 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=t-online.de Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45F5m06wC3z9s9T for ; Thu, 30 May 2019 22:01:52 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 91202845D2; Thu, 30 May 2019 12:01:49 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nQhxlu---9GN; Thu, 30 May 2019 12:01:47 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 0389383617; Thu, 30 May 2019 12:01:47 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 526241BF316 for ; Thu, 30 May 2019 12:01:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 4F83888359 for ; Thu, 30 May 2019 12:01:45 +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 0V8vlpzBcXHN for ; Thu, 30 May 2019 12:01:44 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout03.t-online.de (mailout03.t-online.de [194.25.134.81]) by hemlock.osuosl.org (Postfix) with ESMTPS id ED1ED881DE for ; Thu, 30 May 2019 12:01:43 +0000 (UTC) Received: from fwd32.aul.t-online.de (fwd32.aul.t-online.de [172.20.26.144]) by mailout03.t-online.de (Postfix) with SMTP id 9C6594238662; Thu, 30 May 2019 14:01:41 +0200 (CEST) Received: from fli4l.lan.fli4l (GQhRE8ZvZhWiv8T8bCvP61jdR-klyjF7MEDv9R09wMxdUEwIMcjNrLnwCIWVnMGgFv@[91.58.12.246]) by fwd32.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1hWJkb-0KRfSi0; Thu, 30 May 2019 14:01:41 +0200 Received: from mahler.lan.fli4l ([192.168.1.1]:54648) by fli4l.lan.fli4l with esmtp (Exim 4.92) (envelope-from ) id 1hWJka-0008Lm-7j; Thu, 30 May 2019 14:01:40 +0200 From: Bernd Kuhls To: buildroot@buildroot.org Date: Thu, 30 May 2019 14:01:38 +0200 Message-Id: <20190530120139.21740-2-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190530120139.21740-1-bernd.kuhls@t-online.de> References: <20190530120139.21740-1-bernd.kuhls@t-online.de> MIME-Version: 1.0 X-ID: GQhRE8ZvZhWiv8T8bCvP61jdR-klyjF7MEDv9R09wMxdUEwIMcjNrLnwCIWVnMGgFv X-TOI-MSGID: 31e1eddc-81d8-4c47-8ff8-006c82f0bf78 Subject: [Buildroot] [PATCH/next v2 2/3] package/pugixml: enable install of pugixml.pc X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Theo Debrouwere Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Needed for waylandpp >= 0.2.4 to detect pugixml: https://github.com/NilsBrause/waylandpp/commit/0a61175003a0a34038e39092918768360d2dd1da#diff-af3b638bc2a3e6c650974192a53c7291R39 Signed-off-by: Bernd Kuhls --- v2: changed variables for HOST_PUGIXML_CONF_OPTS (Thomas) package/pugixml/pugixml.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/pugixml/pugixml.mk b/package/pugixml/pugixml.mk index 6f214c4de8..368f958920 100644 --- a/package/pugixml/pugixml.mk +++ b/package/pugixml/pugixml.mk @@ -15,6 +15,7 @@ PUGIXML_INSTALL_STAGING = YES # force-enable this option to support older gcc versions. See also: # https://gcc.gnu.org/onlinedocs/gcc/Long-Long.html PUGIXML_BUILD_DEFINES += PUGIXML_HAS_LONG_LONG +HOST_PUGIXML_BUILD_DEFINES += PUGIXML_HAS_LONG_LONG ifeq ($(BR2_PACKAGE_PUGIXML_XPATH_SUPPORT),) PUGIXML_BUILD_DEFINES += PUGIXML_NO_XPATH @@ -30,5 +31,9 @@ ifdef PUGIXML_BUILD_DEFINES PUGIXML_CONF_OPTS += -DBUILD_DEFINES="$(subst $(space),;,$(PUGIXML_BUILD_DEFINES))" endif +HOST_PUGIXML_CONF_OPTS += \ + -DBUILD_PKGCONFIG=ON \ + -DBUILD_DEFINES="$(subst $(space),;,$(HOST_PUGIXML_BUILD_DEFINES))" + $(eval $(cmake-package)) $(eval $(host-cmake-package))