summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2019-11-29 14:09:13 +0300
committerIgor Pashev <pashev.igor@gmail.com>2019-11-29 14:09:13 +0300
commitf1e1eec26c3ef65e1199f9bbff2ab90eb49bb07b (patch)
tree1d352a99a0b464c528b1b5ee4ffe0fa75b4db6bf
parent1690c3f87ae45a41e8d3e09bf0b1021c008460b9 (diff)
downloadapt-f1e1eec26c3ef65e1199f9bbff2ab90eb49bb07b.tar.gz
Fix detecting statvfs
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 907b86e1f..2520fd53c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -134,7 +134,7 @@ if (SECCOMP_FOUND)
endif()
# Mount()ing and stat()ing and friends
-check_symbol_exists(statfs sys/vfs.h HAVE_VFS_H)
+check_symbol_exists(statvfs sys/vfs.h HAVE_VFS_H)
check_include_files(sys/params.h HAVE_PARAMS_H)
check_symbol_exists(statfs sys/mount.h HAVE_MOUNT_H)
if (NOT HAVE_VFS_H AND NOT HAVE_MOUNT_H)