This is the mail archive of the
mailing list for the elfutils project.
Re: [PATCH] Allow to choose to build shared or static library
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Thu, 13 Oct 2016 12:16:15 +0200
- Subject: Re: [PATCH] Allow to choose to build shared or static library
The problem is that libebl depends on loading any backends dynamically
as shared libraries. See libebl/eblopenbackend.c. Without the backends
various functionality just doesn't work. So you'll have to compile in at
least the native/target backend.
There is a hacky version of that on the mjw/RH-DTS git branch. But that
just hard codes the backends (basically limited to those that RHEL
supports). If we make static linking possible we need to clean that up
to make it configurable (it might simply be all vs native, but it should
include at least the native/target backend).