* [ptxdist] [PATCH] host-nfsutils: fix building without libsqlite3-dev
@ 2026-01-19 7:59 Steffen Trumtrar
0 siblings, 0 replies; only message in thread
From: Steffen Trumtrar @ 2026-01-19 7:59 UTC (permalink / raw)
To: ptxdist; +Cc: Steffen Trumtrar
The configure step checks if sqlite3-devel is available on the host system.
nfs-utils needs sqlite3 for the nfsdcld which in turn is only needed for
a nfs4 server. As the nfs4server is disabled, the library doesn't need
to be available on the host.
Disable the check, which results in an error when the library isn't
available, by setting the check for a recent version to 'yes' and
disabling all other sqlite3 checks.
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
---
rules/host-nfsutils.make | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/rules/host-nfsutils.make b/rules/host-nfsutils.make
index 5c734a269..fc58eafbc 100644
--- a/rules/host-nfsutils.make
+++ b/rules/host-nfsutils.make
@@ -18,7 +18,10 @@ HOST_PACKAGES-$(PTXCONF_HOST_NFSUTILS) += host-nfsutils
# fake rpc/rpc.h availability, it's not needed for rpcgen
HOST_NFSUTILS_CONF_ENV := \
$(HOST_ENV) \
- ac_cv_header_rpc_rpc_h=yes
+ ac_cv_header_rpc_rpc_h=yes \
+ ac_cv_header_sqlite3_h=no \
+ libsqlite3_cv_is_recent=yes \
+ ac_cv_lib_sqlite3_sqlite3_libversion=no
#
# autoconf
---
base-commit: 05cc41f8c966524051d1e759a1743d81a7cc9d01
change-id: 20260119-v2026-01-0-topic-host-nfsutils-3f309f52e347
Best regards,
--
Steffen Trumtrar <s.trumtrar@pengutronix.de>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-01-19 7:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-19 7:59 [ptxdist] [PATCH] host-nfsutils: fix building without libsqlite3-dev Steffen Trumtrar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox