From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gnu.wildebeest.org (gnu.wildebeest.org [45.83.234.184]) by sourceware.org (Postfix) with ESMTPS id CCBCC3858425 for ; Tue, 20 Dec 2022 17:44:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org CCBCC3858425 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=wildebeest.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=wildebeest.org Received: from tarox.wildebeest.org (83-87-18-245.cable.dynamic.v4.ziggo.nl [83.87.18.245]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by gnu.wildebeest.org (Postfix) with ESMTPSA id 3ABDA30006EE; Tue, 20 Dec 2022 18:44:20 +0100 (CET) Received: by tarox.wildebeest.org (Postfix, from userid 1000) id EF065413CD0E; Tue, 20 Dec 2022 18:44:19 +0100 (CET) Message-ID: <568fdb7209ec9474600f3415febccdd94a1b9789.camel@wildebeest.org> Subject: Re: [PATCH 06/25] move platform depended include into system.h of libebl From: Mark Wielaard To: luoyonggang@gmail.com Cc: elfutils-devel@sourceware.org Date: Tue, 20 Dec 2022 18:44:19 +0100 In-Reply-To: <511175b206aad8d84b38aea5afbc558caf95e48d.camel@klomp.org> References: <20221020182603.815-1-luoyonggang@gmail.com> <20221020182603.815-7-luoyonggang@gmail.com> <19dc6579ce183b63a8956b17611e4a264d745b34.camel@klomp.org> <511175b206aad8d84b38aea5afbc558caf95e48d.camel@klomp.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Evolution 3.28.5 (3.28.5-10.el7) Mime-Version: 1.0 X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Tue, 2022-12-20 at 14:59 +0100, Mark Wielaard wrote: > The attached patch does that so no relative paths are needed in > #include statements. The try-bot looked good: https://builder.sourceware.org/buildbot/#/changes/16025 So I pushed this: commit 6ecd16410ce1fe5cb0ac5b7c3342c5cc330e3a04 Author: Mark Wielaard Date: Tue Dec 20 14:53:43 2022 +0100 Do not use relative include paths in library files. =20 Rely on include dirs being set up correctly. Setup libdw AM_CPPFLAGS to include libebl directory. In libdwfl note that debuginfod.h is a generated file in the builddir. Only include it in the one file debuginfod-client.c that really needs it. =20 Signed-off-by: Mark Wielaard