[PATCH] config: Conditionalize on LIBDEBUGINFOD instead of DEBUGINFOD
Tue Nov 3 16:58:22 GMT 2020
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.
> 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?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3167 bytes
More information about the Elfutils-devel