From 34c78baee376cd790b61588dd1fc1aa602ad4c6f Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 8 Apr 2024 18:28:20 +0000 Subject: Fix kmod build with musl, finally Signed-off-by: Laurent Bercot --- sub/kmod/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sub/kmod') diff --git a/sub/kmod/Makefile b/sub/kmod/Makefile index 9c9d8b8..7bf0a47 100644 --- a/sub/kmod/Makefile +++ b/sub/kmod/Makefile @@ -9,7 +9,7 @@ KMOD_TARLETTER := J # Use make variables instead to link kmod statically. KMOD_CONFIGURE_OPTIONS := --disable-option-checking --disable-maintainer-mode --with-module-directory=$(OUTPUT)/rootfs/lib/modules --with-gnu-ld --disable-gtk-doc-html --with-xz --disable-manpages --disable-test-modules --disable-logging --with-bashcompletiondir=$(OUTPUT)/build-build/opt/$(KMOD_NAME)-$(KMOD_VERSION)/bash-completions -KMOD_CFLAGS := -I$(OUTPUT)/build-build/opt/xz/include +KMOD_CFLAGS := -I$(OUTPUT)/build-build/opt/xz/include -include libgen.h KMOD_LDFLAGS := -L$(OUTPUT)/build-build/opt/xz/lib KMOD_LIBS := -llzma -- cgit v1.2.3