From 43859b58f6b76e958e54ec5d3d1250d906ce12bf Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Tue, 4 Jan 2022 09:41:38 +0000 Subject: rofiles-fuse: Build using FUSE 3 if possible, falling back to FUSE 2 This adds build-time configuration logic to automatically detect and switch between libfuse 2.x and 3.x. Signed-off-by: Simon McVittie Co-authored-by: Luca BRUNO --- ci/gh-install.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'ci/gh-install.sh') diff --git a/ci/gh-install.sh b/ci/gh-install.sh index 9902a94e..f39331b1 100755 --- a/ci/gh-install.sh +++ b/ci/gh-install.sh @@ -43,6 +43,19 @@ case "$ID" in # Ubuntu package data: # https://packages.ubuntu.com/source/impish/ostree # + # Use libfuse3-dev unless otherwise specified + case " $* " in + (*\ libfuse-dev\ *) + ;; + + (*\ libfuse3-dev\ *) + ;; + + (*) + set -- "$@" libfuse3-dev + ;; + esac + # TODO: fetch this list from the Debian packaging git repository? # First construct a list of Build-Depends common to all -- cgit v1.2.1