From: agaffney Date: Thu, 13 Nov 2008 17:03:03 +0000 (-0600) Subject: Compile unionfs-fuse statically X-Git-Tag: v3.4.10.902~26 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e4f3b17b3afa6af5719c633ea7982de81996eebe;p=genkernel.git Compile unionfs-fuse statically --- diff --git a/ChangeLog b/ChangeLog index 4abdf69..1192d17 100644 --- 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 gen_compile.sh: + Compile unionfs-fuse statically + 13 Nov 2008; Andrew Gaffney defaults/linuxrc, gen_initramfs.sh: Make sure that /sbin/unionfs is +x diff --git a/gen_compile.sh b/gen_compile.sh index e10ad77..2c3787f 100644 --- a/gen_compile.sh +++ b/gen_compile.sh @@ -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" ] ||