-- Sonny Karlsson
>From 305161a5fb4ee836d86688d78fe3a50fc2ea9b2c Mon Sep 17 00:00:00 2001 From: Sonny Karlsson <[email protected]> Date: Sun, 3 Feb 2013 12:48:02 +0100 Subject: [PATCH 3/4] configure: Fix replacement of variables in Makefiles.
Handle CFLAGS/LDFLAGS/DEFS containing '/' characters. Signed-off-by: Sonny Karlsson <[email protected]> --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index bbef273..feea81f 100755 --- a/configure +++ b/configure @@ -634,7 +634,7 @@ create_makefile_plugins() do if [ -f "${d}/Makefile.in" ]; then - sed -e "s|\$CC|$CC|" -e "s/\$CFLAGS/$CFLAGS/" -e "s/\$LDFLAGS/$LDFLAGS/" -e "s/\$DEFS/$DEFS/" $d/Makefile.in > $d/Makefile + sed -e "s|\$CC|$CC|" -e "s|\$CFLAGS|$CFLAGS|" -e "s|\$LDFLAGS|$LDFLAGS|" -e "s|\$DEFS|$DEFS|" $d/Makefile.in > $d/Makefile fi done -- 1.8.0.2
_______________________________________________ Monkey mailing list [email protected] http://lists.monkey-project.com/listinfo/monkey
