[PATCH] config: Conditionalize on LIBDEBUGINFOD instead of DEBUGINFOD
Mark Wielaard
mark@klomp.org
Tue Nov 3 16:58:22 GMT 2020
Hi Dmitry,
On Mon, 2020-11-02 at 08:00 +0000, Dmitry V. Levin wrote:
> When elfutils is configured using --enable-libdebuginfod
> --disable-debuginfod, that is, when the library is built and installed
> but the server is not, it makes sense to install libdebuginfod.pc
> because the latter complements the library rather than the server.
Agreed.
> Likewise, it makes sense to install profile.d/debuginfod.*sh files
> along with libdebuginfod because the library can use DEBUGINFOD_URLS
> environment variable as well as the server.
While packaging I noticed that we install the profiles.d files even
when the DEBUGINFOD_URLS is empty. I think we should avoid that.
So what do you think if the attached revised patch?
Thanks,
Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-config-Conditionalize-on-LIBDEBUGINFOD-and-DEFAULT_D.patch
Type: text/x-patch
Size: 3167 bytes
Desc:
URL: <https://sourceware.org/pipermail/elfutils-devel/attachments/20201103/6eecd9a2/attachment.bin>
More information about the Elfutils-devel
mailing list