Compile unionfs-fuse statically
authoragaffney <agaffney@kagome.(none)>
Thu, 13 Nov 2008 17:03:03 +0000 (11:03 -0600)
committeragaffney <agaffney@kagome.(none)>
Thu, 13 Nov 2008 17:03:03 +0000 (11:03 -0600)
ChangeLog
gen_compile.sh

index 4abdf69f9ae955f3343e9f81e98f8f49e68823a0..1192d17d28705de491645f67e4ead6f5ec864cea 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2008 Gentoo Foundation; 2008 Chris Gianelloni, Andrew Gaffney
 # Distributed under the GPL v2
 
+  13 Nov 2008; Andrew Gaffney <agaffney@gentoo.org> gen_compile.sh:
+  Compile unionfs-fuse statically
+
   13 Nov 2008; Andrew Gaffney <agaffney@gentoo.org> defaults/linuxrc,
   gen_initramfs.sh:
   Make sure that /sbin/unionfs is +x
index e10ad779841d3db74cf9dd4305c716a869cd0f7a..2c3787f207cb2d0940e4fb8dd22a19702b7dfbb7 100644 (file)
@@ -564,7 +564,7 @@ compile_unionfs_fuse() {
                cd "${UNIONFS_FUSE_DIR}"
                print_info 1 'unionfs-fuse: >> Compiling...'
                sed -i "/^\(CFLAGS\|CPPFLAGS\)/s:^\\(.*\\)$:\\1 -I${TEMP}/${FUSE_DIR}/include -L${TEMP}/${FUSE_DIR}/lib/.libs:" Makefile src/Makefile
-               sed -i "/^LIB = /s:^LIB = \(.*\)$:LIB = -L${TEMP}/${FUSE_DIR}/lib/.libs \1:" Makefile src/Makefile
+               sed -i "/^LIB = /s:^LIB = \(.*\)$:LIB = -static -ldl -lrt -L${TEMP}/${FUSE_DIR}/lib/.libs \1:" Makefile src/Makefile
                MAKE=${UTILS_MAKE} compile_generic "" ""
                print_info 1 'unionfs-fuse: >> Copying to cache...'
                [ -f "${TEMP}/${UNIONFS_FUSE_DIR}/src/unionfs" ] ||