Add -L line into LIB= in Makefile
authoragaffney <agaffney@kagome.(none)>
Thu, 13 Nov 2008 04:25:22 +0000 (22:25 -0600)
committeragaffney <agaffney@kagome.(none)>
Thu, 13 Nov 2008 04:25:22 +0000 (22:25 -0600)
ChangeLog
gen_compile.sh

index 8237fcc9cd70c3a710c51b5ddcdc3efeb9c83627..c90476d3ff37e33fdf7272d11a7a79bb96186262 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:
+  Add -L line into LIB= in Makefile
+
   13 Nov 2008; Andrew Gaffney <agaffney@gentoo.org> gen_compile.sh:
   Unpack fuse source and modify CFLAGS for unionfs-fuse
 
index 1cd854a90607320dbf502b1d7343fa38ae09ba1e..87cc28ecfa7584ad1b01d38f36e1e9d61aea9614 100644 (file)
@@ -568,6 +568,7 @@ compile_unionfs_fuse() {
 #              cd ..
                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
                cat Makefile src/Makefile
                bash
                MAKE=${UTILS_MAKE} compile_generic "" ""