summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRadek Podgorny <radek@podgorny.cz>2022-01-04 22:17:38 +0100
committerRadek Podgorny <radek@podgorny.cz>2022-01-04 22:17:38 +0100
commitb6b5bec0843b213c235cb0300e317283c3015ddb (patch)
tree898cf97299d479bb94a2e9b3e98bbea4ea82c47b
parentf6525719ddd34e1ac90cdc1f4356bc5b94fed793 (diff)
downloadunionfs-fuse-git-b6b5bec0843b213c235cb0300e317283c3015ddb.tar.gz
define used fuse version to 35 to avoid wrong definition on ununtu focal (libfuse-3.9)
-rw-r--r--src/CMakeLists.txt2
-rw-r--r--src/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 3e114f4..d9c6801 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -16,7 +16,7 @@ option(WITH_LIBFUSE3 "Enable libfuse3 support" ON)
find_package(PkgConfig REQUIRED)
IF (WITH_LIBFUSE3)
- add_definitions(-DFUSE_USE_VERSION=30)
+ add_definitions(-DFUSE_USE_VERSION=35)
pkg_check_modules(FUSE REQUIRED fuse3)
ELSE (WITH_LIBFUSE3)
add_definitions(-DFUSE_USE_VERSION=29)
diff --git a/src/Makefile b/src/Makefile
index 06ae7b2..13ada28 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -2,7 +2,7 @@ CFLAGS += -W -Wall -fPIC
CPPFLAGS += $(shell pkg-config --cflags fuse3)
LIB = $(shell pkg-config --libs fuse3)
-CPPFLAGS += -DFUSE_USE_VERSION=30
+CPPFLAGS += -DFUSE_USE_VERSION=35
# define the following (and comment out the above) for libfuse2
#CPPFLAGS += $(shell pkg-config --cflags fuse)