]> git.pld-linux.org Git - packages/libfuse.git/blob - libfuse-link.patch
- up to 2.6.2
[packages/libfuse.git] / libfuse-link.patch
1 --- fuse-2.6.1/util/Makefile.am.orig    2006-12-12 21:38:22.338526000 +0100
2 +++ fuse-2.6.1/util/Makefile.am 2006-12-12 21:42:36.913034043 +0100
3 @@ -4,6 +4,7 @@
4  bin_PROGRAMS = fusermount ulockmgr_server
5  
6  fusermount_SOURCES = fusermount.c
7 +fusermount_LDADD = $(LIBSELINUX)
8  
9  ulockmgr_server_SOURCES = ulockmgr_server.c
10  ulockmgr_server_CPPFLAGS = -D_FILE_OFFSET_BITS=64 -D_REENTRANT 
11 --- fuse-2.6.1/configure.in.orig        2006-12-01 12:58:57.000000000 +0100
12 +++ fuse-2.6.1/configure.in     2006-12-12 21:42:20.996126989 +0100
13 @@ -87,7 +87,9 @@
14  AM_CONDITIONAL(LINUX, test "$arch" = linux)
15  AM_CONDITIONAL(BSD, test "$arch" = bsd)
16  
17 -AC_CHECK_HEADERS(selinux/selinux.h, AC_CHECK_LIB(selinux, getfilecon))
18 +LIBSELINUX=
19 +AC_CHECK_HEADERS(selinux/selinux.h, AC_CHECK_LIB(selinux, getfilecon, [LIBSELINUX=-lselinux]))
20 +AC_SUBST(LIBSELINUX)
21  
22  AC_CONFIG_FILES([fuse.pc Makefile lib/Makefile util/Makefile example/Makefile include/Makefile])
23  AC_OUTPUT
24 --- fuse-2.6.1/lib/Makefile.am.orig     2006-12-01 12:59:21.000000000 +0100
25 +++ fuse-2.6.1/lib/Makefile.am  2006-12-12 21:51:19.302803339 +0100
26 @@ -31,5 +31,6 @@
27  
28  libulockmgr_la_SOURCES = ulockmgr.c
29  libulockmgr_la_LDFLAGS = -version-number 1:0:1
30 +libulockmgr_la_LIBADD = -lpthread
31  
32  EXTRA_DIST = fuse_versionscript
This page took 0.108703 seconds and 3 git commands to generate.