]> git.pld-linux.org Git - packages/libfuse.git/commitdiff
- only fusemount needs -lselinux; libulockmgr needs -lpthread
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 12 Dec 2006 21:04:48 +0000 (21:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libfuse-link.patch -> 1.1

libfuse-link.patch [new file with mode: 0644]

diff --git a/libfuse-link.patch b/libfuse-link.patch
new file mode 100644 (file)
index 0000000..0f4c456
--- /dev/null
@@ -0,0 +1,32 @@
+--- fuse-2.6.1/util/Makefile.am.orig   2006-12-12 21:38:22.338526000 +0100
++++ fuse-2.6.1/util/Makefile.am        2006-12-12 21:42:36.913034043 +0100
+@@ -4,6 +4,7 @@
+ bin_PROGRAMS = fusermount ulockmgr_server
+ fusermount_SOURCES = fusermount.c
++fusermount_LDADD = $(LIBSELINUX)
+ ulockmgr_server_SOURCES = ulockmgr_server.c
+ ulockmgr_server_CPPFLAGS = -D_FILE_OFFSET_BITS=64 -D_REENTRANT 
+--- fuse-2.6.1/configure.in.orig       2006-12-01 12:58:57.000000000 +0100
++++ fuse-2.6.1/configure.in    2006-12-12 21:42:20.996126989 +0100
+@@ -87,7 +87,9 @@
+ AM_CONDITIONAL(LINUX, test "$arch" = linux)
+ AM_CONDITIONAL(BSD, test "$arch" = bsd)
+-AC_CHECK_HEADERS(selinux/selinux.h, AC_CHECK_LIB(selinux, getfilecon))
++LIBSELINUX=
++AC_CHECK_HEADERS(selinux/selinux.h, AC_CHECK_LIB(selinux, getfilecon, [LIBSELINUX=-lselinux]))
++AC_SUBST(LIBSELINUX)
+ AC_CONFIG_FILES([fuse.pc Makefile lib/Makefile util/Makefile example/Makefile include/Makefile])
+ AC_OUTPUT
+--- fuse-2.6.1/lib/Makefile.am.orig    2006-12-01 12:59:21.000000000 +0100
++++ fuse-2.6.1/lib/Makefile.am 2006-12-12 21:51:19.302803339 +0100
+@@ -31,5 +31,6 @@
+ libulockmgr_la_SOURCES = ulockmgr.c
+ libulockmgr_la_LDFLAGS = -version-number 1:0:0
++libulockmgr_la_LIBADD = -lpthread
+ EXTRA_DIST = fuse_versionscript
This page took 0.174439 seconds and 4 git commands to generate.