mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-12 22:40:54 +01:00
Disk (Android): fix build
Android does support `statx`, but it requires targeting newer ANDROID_API version to be available
This commit is contained in:
1 parent
4e4efa67e6
commit
fb26cb1394
1 file changed
+3
-1
+3
-1
@@ -699,7 +699,9 @@ check_function_exists(wcwidth HAVE_WCWIDTH)
|
||||
if(NOT HAVE_WCWIDTH)
|
||||
list(APPEND LIBFASTFETCH_SRC src/3rdparty/mk_wcwidch/wcwidth.c)
|
||||
endif()
|
||||
check_function_exists(statx HAVE_STATX)
|
||||
if(LINUX)
|
||||
check_function_exists(statx HAVE_STATX)
|
||||
endif()
|
||||
|
||||
if(ENABLE_SYSTEM_YYJSON)
|
||||
find_package(yyjson)
|
||||
|
||||
Reference in new issue
Block a user