aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorMartin Pärtel <martin.partel@gmail.com>2024-04-06 16:25:33 +0300
committerMartin Pärtel <martin.partel@gmail.com>2024-04-06 16:25:40 +0300
commitcfff4ab980327b3ed578c3b070c335454068a993 (patch)
tree7bd369edc996d794716686ac75026dc2a7bfbbba /src/Makefile.am
parent9cdde5e97122ea2405a146760d9b06f8517ca832 (diff)
downloadbindfs-cfff4ab980327b3ed578c3b070c335454068a993.tar.gz
Added ./configure option --disable-macos-fs-link
For #140
Diffstat (limited to 'src/Makefile.am')
-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})