From 5905852cef957c4e0aa2f40721824f1d063a0d51 Mon Sep 17 00:00:00 2001 From: Omar Rizwan Date: Mon, 4 Jan 2021 04:50:24 -0800 Subject: use -lfuse on Mac. fixes #11. fixes #20 --- fs/Makefile | 4 ++-- tabfs.md | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/fs/Makefile b/fs/Makefile index 37f0f3d..658adb7 100644 --- a/fs/Makefile +++ b/fs/Makefile @@ -15,8 +15,8 @@ ifeq ($(shell uname -s),Linux) LIBS = -lfuse -pthread endif ifeq ($(shell uname -s),Darwin) - CFLAGS += -I$(OSXFUSE_ROOT)/include/osxfuse/fuse -L$(OSXFUSE_ROOT)/lib -D_DARWIN_USE_64_BIT_INODE $(CFLAGS_EXTRA) - LIBS = -losxfuse + CFLAGS += -I$(OSXFUSE_ROOT)/include -L$(OSXFUSE_ROOT)/lib -D_DARWIN_USE_64_BIT_INODE $(CFLAGS_EXTRA) + LIBS = -lfuse endif ifeq ($(shell uname -s),FreeBSD) CFLAGS += -L$(FREEBSD_ROOT)/lib -I$(FREEBSD_ROOT)/include $(CFLAGS_EXTRA) diff --git a/tabfs.md b/tabfs.md index 9224980..230d04b 100644 --- a/tabfs.md +++ b/tabfs.md @@ -352,10 +352,10 @@ Choose manifest.json in the extension subfolder of this repo. ### 2. Install the C filesystem First, make sure you have FUSE and FUSE headers. On Linux, for example, -`sudo apt install libfuse-dev` or equivalent. On macOS, get [FUSE for -macOS](https://osxfuse.github.io/). (on macOS, also check [this -bug](https://github.com/osnr/TabFS/issues/11) -- TODO work out the -best path to explain here.) +`sudo apt install libfuse-dev` or equivalent. On macOS, get +[macFUSE](https://osxfuse.github.io/). (on macOS, also see [this +-bug](https://github.com/osnr/TabFS/issues/11) -- TODO work out the +best path to explain here) Then compile the C filesystem: -- cgit v1.2.3