mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
dd4f12ef27
https://github.com/libfuse/libfuse/blob/fuse-3.16.1/ChangeLog.rst#libfuse-3161-2023-08-08 One change can be expected to break some setups: - Unsupported mount options are no longer silently accepted [1] For example, sshfs built against the present libfuse 3.11.0, `$ sshfs 127.0.0.1:/home/test/testdir /home/test/sshfs_mnt -o atime` terminates successfully (with the mount point established), while when built against 3.16.1, it outputs the error message `fuse: unknown option(s): `-o atime'` and terminates with exit status 1.
14 lines
703 B
Diff
14 lines
703 B
Diff
diff --git a/lib/meson.build b/lib/meson.build
|
|
--- a/lib/meson.build
|
|
+++ b/lib/meson.build
|
|
@@ -37,8 +37,7 @@ libfuse = library('fuse3', libfuse_sources, version: meson.project_version(),
|
|
soversion: '3', include_directories: include_dirs,
|
|
dependencies: deps, install: true,
|
|
link_depends: 'fuse_versionscript',
|
|
- c_args: [ '-DFUSE_USE_VERSION=312',
|
|
- '-DFUSERMOUNT_DIR="@0@"'.format(fusermount_path) ],
|
|
+ c_args: [ '-DFUSE_USE_VERSION=312' ],
|
|
link_args: ['-Wl,--version-script,' + meson.current_source_dir()
|
|
+ '/fuse_versionscript' ])
|
|
|