use -lfuse on Mac. fixes #11. fixes #20

This commit is contained in:
Omar Rizwan 2021-01-04 04:50:24 -08:00
parent 180a71732e
commit 5905852cef
2 changed files with 6 additions and 6 deletions

View file

@ -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)

View file

@ -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: