From c7e4045c1075161562deb179b2013de9fa108ce5 Mon Sep 17 00:00:00 2001 From: lxg2001 <2902587591@qq.com> Date: Mon, 15 Jan 2024 18:01:06 +0800 Subject: [PATCH] mariadb: fix compilation with musl 1.2.4 --- utils/mariadb/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/utils/mariadb/Makefile b/utils/mariadb/Makefile index a243b740..ee290a93 100644 --- a/utils/mariadb/Makefile +++ b/utils/mariadb/Makefile @@ -180,6 +180,10 @@ MARIADB_COMMON_DEPENDS := \ # ignore them. TARGET_CFLAGS+=$(TARGET_CPPFLAGS) +ifneq ($(CONFIG_USE_MUSL),) + TARGET_CFLAGS += -D_LARGEFILE64_SOURCE +endif + define Package/mariadb/disable/engine echo > $(1)/storage/$(2)/CMakeLists.txt endef