]> git.pld-linux.org Git - packages/libfuse.git/blob - libfuse-link.patch
- rel 2
[packages/libfuse.git] / libfuse-link.patch
1 --- fuse-2.7.0/util/Makefile.am.orig    2007-07-03 19:07:37.997256742 +0200
2 +++ fuse-2.7.0/util/Makefile.am 2007-07-03 19:09:22.729253309 +0200
3 @@ -5,7 +5,7 @@
4  noinst_PROGRAMS = mount.fuse
5  
6  fusermount_SOURCES = fusermount.c
7 -fusermount_LDADD = ../lib/mount_util.lo
8 +fusermount_LDADD = ../lib/mount_util.lo $(LIBSELINUX)
9  fusermount_CPPFLAGS = -I../lib
10  mount_fuse_SOURCES = mount.fuse.c
11  
12 --- fuse-2.7.0/configure.in.orig        2007-07-02 13:32:15.000000000 +0200
13 +++ fuse-2.7.0/configure.in     2007-07-03 19:10:56.654033356 +0200
14 @@ -98,5 +98,9 @@
15  AM_CONDITIONAL(LINUX, test "$arch" = linux)
16  AM_CONDITIONAL(BSD, test "$arch" = bsd)
17  
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
25 --- fuse-2.6.1/lib/Makefile.am.orig     2006-12-01 12:59:21.000000000 +0100
26 +++ fuse-2.6.1/lib/Makefile.am  2006-12-12 21:51:19.302803339 +0100
27 @@ -40,5 +40,6 @@
28  
29  libulockmgr_la_SOURCES = ulockmgr.c
30  libulockmgr_la_LDFLAGS = -pthread -version-number 1:0:1
31 +libulockmgr_la_LIBADD = -lpthread
32  
33  EXTRA_DIST = fuse_versionscript
34
This page took 0.024016 seconds and 3 git commands to generate.