Merge pull request #759 from lxg2001/master

mariadb: fix compilation with musl 1.2.4
This commit is contained in:
coolsnowwolf 2024-01-15 22:11:09 +08:00 committed by GitHub
commit 00f9b3be0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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