Fix linking of unionfs-fuse 0.24
authorSebastian Pipping <sebastian@pipping.org>
Mon, 9 Jul 2012 22:42:30 +0000 (00:42 +0200)
committerSebastian Pipping <sebastian@pipping.org>
Mon, 9 Jul 2012 22:43:11 +0000 (00:43 +0200)
ChangeLog
gen_compile.sh

index 2752e7df25e00784cff28f127381a1fe06a7d89e..289e9fae478d3a0aefbedfa72c52deec6d96d5c6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,9 @@
 # Distributed under the GPL v2
 # $Id$
 
+  09 Jul 2012; Sebastian Pipping <sping@gentoo.org> gen_compile.sh:
+  Fix linking of unionfs-fuse 0.24
+
   09 Jul 2012; Sebastian Pipping <sping@gentoo.org>
   patches/fuse/2.8.6/fuse-2.8.6-glibc-2.14.patch:
   Allow compilation of FUSE 2.8.6 with glibc 2.14 (bug #370411)
index f1c7405bab9ca580c0d46832f94d89c0b6efc548..cbd3432fffa38f9e3cb31ffb1ed5d2ac8ee6e233 100755 (executable)
@@ -616,7 +616,7 @@ compile_unionfs_fuse() {
                apply_patches unionfs-fuse ${UNIONFS_FUSE_VER}
                print_info 1 'unionfs-fuse: >> Compiling...'
                sed -i "/^\(CFLAGS\|CPPFLAGS\)/s:^\\(.*\\)$:\\1 -static -I${TEMP}/${FUSE_DIR}/include -L${TEMP}/${FUSE_DIR}/lib/.libs:" Makefile src/Makefile
-               sed -i "/^LIB = /s:^LIB = \(.*\)$:LIB = -static -L${TEMP}/${FUSE_DIR}/lib/.libs \1 -ldl -lrt:" Makefile src/Makefile
+               sed -i "/^LIB = /s:^LIB = \(.*\)$:LIB = -static -L${TEMP}/${FUSE_DIR}/lib/.libs \1 -ldl -lpthread -lrt:" Makefile src/Makefile
                MAKE=${UTILS_MAKE} compile_generic "" ""
                print_info 1 'unionfs-fuse: >> Copying to cache...'
                [ -f "${TEMP}/${UNIONFS_FUSE_DIR}/src/unionfs" ] ||