aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am4
1 files changed, 2 insertions, 2 deletions
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})