Re: [chrony-users] Chrony Static Builds |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] Chrony Static Builds
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Wed, 11 Nov 2020 10:04:50 +0100
- Authentication-results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=mlichvar@xxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1605085495; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=5VHlmkxUMFXe7huPWHFCbF+HHR0APkKbapS6l0m5bGg=; b=hKq9zTahZBPely7pl0PXhdyK9qNJtycf47hAuOnn9TP4h+6G0JKA9HSJLWgfn7kjbu5kyZ lxp3k8cnLTMJFktbe5K0aZqMV+i0QWDNRnPnFAg+46BXRhQB5RYJnYPoUf9KUSBVMNqb4M 1zhfHtUEhlEFMm7LSPfaBdpp3RK6zsY=
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.