From patchwork Mon Mar 25 16:00:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olaf Hering X-Patchwork-Id: 10869539 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C703D14DE for ; Mon, 25 Mar 2019 16:02:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B374D29484 for ; Mon, 25 Mar 2019 16:02:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A7AA629488; Mon, 25 Mar 2019 16:02:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.0 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7BC6329484 for ; Mon, 25 Mar 2019 16:02:19 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1h8S1U-0001zm-5s; Mon, 25 Mar 2019 16:00:28 +0000 Received: from us1-rack-dfw2.inumbo.com ([104.130.134.6]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1h8S1R-0001zL-V2 for xen-devel@lists.xenproject.org; Mon, 25 Mar 2019 16:00:26 +0000 X-Inumbo-ID: 18d8b4c1-4f17-11e9-bc90-bc764e045a96 Received: from mo6-p00-ob.smtp.rzone.de (unknown [2a01:238:20a:202:5300::11]) by us1-rack-dfw2.inumbo.com (Halon) with ESMTPS id 18d8b4c1-4f17-11e9-bc90-bc764e045a96; Mon, 25 Mar 2019 16:00:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1553529622; s=strato-dkim-0002; d=aepfle.de; h=Message-Id:Date:Subject:Cc:To:From:X-RZG-CLASS-ID:X-RZG-AUTH:From: Subject:Sender; bh=ALMaezMOoKBcIsgqKIlZ4WWmrCZ0kgvhSHXA6GvGb10=; b=KX/HUh3hlEXQ0vd7Eopab2mbiJsvPpaAtcDIvouMTFB7nizrQJSIL9FR1stRMPpbkz 73Xhi/fqH0P7uhzYRlaPGwqR7QiTmhSFIkC1gdqCfQ4LAX62ij+dcu6PsfaFK+etIDqI ZQRvYao/oZtoDOe/17NFF9oTu05qlK/32fOswYG1bkEEmtcO5I1O0andYyRooPQH2Xxs tqP/XssyYlF4pJYV/f/ewKRcxsVrI0ezcpRR8UcMJpuSxZT1/J0aJGO2lXDBCfNJTa4z FIWf+jYh0A62QVHqmN3mwXYtKDVcLR5TKnFp00KfZkB5WVa6/L/7BGqbkivUVROZLAvk qnUw== X-RZG-AUTH: ":P2EQZWCpfu+qG7CngxMFH1J+3q8wa/QXkBR9MXjAuzpIG0mv9coXAgc0rlbwGsstAoEU6BsBVy1C03xHY61HL/PfPrJ9" X-RZG-CLASS-ID: mo00 Received: from sender by smtp.strato.de (RZmta 44.18 AUTH) with ESMTPSA id 3086c5v2PG0E1R6 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Mon, 25 Mar 2019 17:00:14 +0100 (CET) From: Olaf Hering To: xen-devel@lists.xenproject.org Date: Mon, 25 Mar 2019 17:00:10 +0100 Message-Id: <20190325160010.24584-1-olaf@aepfle.de> X-Mailer: git-send-email 2.16.4 MIME-Version: 1.0 Subject: [Xen-devel] [PATCH v1] install pkgconfig files into libdir X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Wei Liu , Olaf Hering , Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP Most pkgconfig files contain a Libs: variable, which is either /usr/lib or /usr/lib64. If a 32bit and a 64bit variant of xen libraries is installed, the last one wins. As a result compiling for the other bitsize will fail. Instead of sharedir use libdir as install target. This matches both the documentation and the expected result. Signed-off-by: Olaf Hering Acked-by: Wei Liu --- I think this deserves a backport to relesed versions. config/Paths.mk.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/Paths.mk.in b/config/Paths.mk.in index 8a518d5a5d..dc9d0c0353 100644 --- a/config/Paths.mk.in +++ b/config/Paths.mk.in @@ -58,4 +58,4 @@ XENFIRMWAREDIR := @XENFIRMWAREDIR@ XEN_CONFIG_DIR := @XEN_CONFIG_DIR@ XEN_SCRIPT_DIR := @XEN_SCRIPT_DIR@ -PKG_INSTALLDIR := ${SHAREDIR}/pkgconfig +PKG_INSTALLDIR := ${libdir}/pkgconfig