From cfff4ab980327b3ed578c3b070c335454068a993 Mon Sep 17 00:00:00 2001 From: Martin Pärtel Date: Sat, 6 Apr 2024 16:25:33 +0300 Subject: Added ./configure option --disable-macos-fs-link For #140 --- src/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index 1fd6ef9..4c24816 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -11,12 +11,12 @@ bindfs_LDADD = ${fuse_LIBS} ${fuse3_LIBS} ${fuse_t_LIBS} ${my_LDFLAGS} man_MANS = bindfs.1 -if BUILD_OS_IS_DARWIN +if INSTALL_MACOS_FS_LINK bindfs_BUNDLEDIR = $(DESTDIR)/Library/Filesystems/bindfs.fs bindfs_BUNDLEBINDIR = "${bindfs_BUNDLEDIR}/Contents/Resources" install-exec-hook: - (mkdir -p "${bindfs_BUNDLEBINDIR}"; ln -s "${bindir}/bindfs" "${bindfs_BUNDLEBINDIR}/mount_bindfs") + (mkdir -p "${bindfs_BUNDLEBINDIR}"; ln -sf "${bindir}/bindfs" "${bindfs_BUNDLEBINDIR}/mount_bindfs") uninstall-hook: (rm -rf ${bindfs_BUNDLEDIR}) -- cgit v1.2.3