From: agaffney Date: Thu, 13 Nov 2008 17:08:37 +0000 (-0600) Subject: change lib order X-Git-Tag: v3.4.10.902~25 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ec05525959fda6949bdcb6c600db41573ede378c;p=genkernel.git change lib order --- diff --git a/gen_compile.sh b/gen_compile.sh index 2c3787f..2550b07 100644 --- a/gen_compile.sh +++ b/gen_compile.sh @@ -563,8 +563,8 @@ compile_unionfs_fuse() { gen_die "unionfs-fuse directory ${UNIONFS_FUSE_DIR} invalid" 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 = -static -ldl -lrt -L${TEMP}/${FUSE_DIR}/lib/.libs \1:" Makefile src/Makefile + 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 MAKE=${UTILS_MAKE} compile_generic "" "" print_info 1 'unionfs-fuse: >> Copying to cache...' [ -f "${TEMP}/${UNIONFS_FUSE_DIR}/src/unionfs" ] ||