summaryrefslogtreecommitdiff
path: root/sub/kmod
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2024-04-08 18:28:20 +0000
committerLaurent Bercot <ska@appnovation.com>2024-04-08 18:28:20 +0000
commit34c78baee376cd790b61588dd1fc1aa602ad4c6f (patch)
tree3e5cae9cb79f66af6d2f0ddb3f7a39426962d8fe /sub/kmod
parentf6b06d074dc316e81e9a6aebd86159ee59117d56 (diff)
downloadlh-bootstrap-34c78baee376cd790b61588dd1fc1aa602ad4c6f.tar.xz
Fix kmod build with musl, finally
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'sub/kmod')
-rw-r--r--sub/kmod/Makefile2
1 files changed, 1 insertions, 1 deletions
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