From a782ef357067962f60580478067f4023facab6a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Sat, 30 Mar 2024 13:47:10 +0100 Subject: linux: move libnl code into separate file Move all the code using libnl functionality into a separate file to ease modifications. No functional change. --- Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 0d95e370..ca2f90ba 100644 --- a/Makefile.am +++ b/Makefile.am @@ -214,6 +214,11 @@ linux_platform_sources = \ zfs/ZfsArcMeter.c \ zfs/ZfsCompressedArcMeter.c +if HAVE_DELAYACCT +linux_platform_headers += linux/LibNl.h +linux_platform_sources += linux/LibNl.c +endif + if HTOP_LINUX AM_LDFLAGS += -rdynamic myhtopplatheaders = $(linux_platform_headers) -- cgit v1.2.3