Skip to content

Commit 193b48d

Browse files
committed
Makefile changes to support fuse-t
Signed-off-by: Alex Fishman <alex@fuse-t.org>
1 parent f187961 commit 193b48d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Makefile.am

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ if DARWIN_COMPAT
1010
sshfs_SOURCES += compat/darwin_compat.c compat/darwin_compat.h
1111
endif
1212

13-
sshfs_LDADD = $(SSHFS_LIBS)
14-
sshfs_CFLAGS = $(SSHFS_CFLAGS)
13+
sshfs_LDADD = $(SSHFS_LIBS) -L/usr/local/lib -lfuse-t
14+
sshfs_CFLAGS = $(SSHFS_CFLAGS) -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse
1515
sshfs_CPPFLAGS = -D_REENTRANT -DFUSE_USE_VERSION=26 -DLIBDIR=\"$(libdir)\" \
1616
-DIDMAP_DEFAULT="\"$(IDMAP_DEFAULT)\""
1717

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ fi
4444
AM_CONDITIONAL(SSH_NODELAY_SO, test "$enable_sshnodelay" = "yes")
4545

4646
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
47-
PKG_CHECK_MODULES([SSHFS], [fuse >= 2.3 glib-2.0 gthread-2.0])
47+
PKG_CHECK_MODULES([SSHFS], [glib-2.0 gthread-2.0])
4848
have_fuse_opt_parse=no
4949
oldlibs="$LIBS"
5050
LIBS="$LIBS $SSHFS_LIBS"

sshfs.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#include <fuse_lowlevel.h>
1616
#endif
1717
#ifdef __APPLE__
18-
# include <fuse_darwin.h>
18+
//# include <fuse_darwin.h>
1919
#endif
2020
#include <assert.h>
2121
#include <stdio.h>

0 commit comments

Comments
 (0)