Re: [chrony-users] Chrony Static Builds

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]


On Wed, Nov 11, 2020 at 02:14:04AM -0500, William Holmes wrote:
> Hi,
> Is it possible to build a static version of chrony?

It should be possible, at least in theory. In practice it may depend
on the libc implementation (e.g. NSS modules in glibc) and also on
availability of the static libraries. For instance, in Fedora static
linking is discouraged and static libraries are provided only for few
selected packages, so the functionality would be very limited.

You can try to add the -static option to CFLAGS and see if it works,
e.g:

CFLAGS="-O2 -static" ./configure && make

-- 
Miroslav Lichvar


-- 
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx 
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx 
with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/