From: John Mandereau Date: Wed, 10 Dec 2008 20:04:34 +0000 (+0100) Subject: Junk python-config CFLAGS more cleanly X-Git-Tag: release/2.12.0-1~40^2~2^2 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=6f6740ae29849f8da1f7b550a5d36f190f755ec6;p=lilypond.git Junk python-config CFLAGS more cleanly This fixes malformed g++ flags on some configurations. --- diff --git a/stepmake/aclocal.m4 b/stepmake/aclocal.m4 index 9e386f3922..77074a62dc 100644 --- a/stepmake/aclocal.m4 +++ b/stepmake/aclocal.m4 @@ -956,7 +956,7 @@ AC_DEFUN(STEPMAKE_PYTHON_DEVEL, [ if test -z "$PYTHON_CFLAGS" -a "$PYTHON_CONFIG" != "no"; then # Clean out junk: http://bugs.python.org/issue3290 # Python headers may need some -f* flags, leave them in. - PYTHON_CFLAGS=`$PYTHON_CONFIG --cflags | sed -e 's/ -\(W\|D\|O\|m\)\(\w\|-\|=\)\+//g'` + PYTHON_CFLAGS=`$PYTHON_CONFIG --cflags | sed -e 's/ -\(W\|D\|O\|m\)\(\w\|-\|=\|,\)\+//g'` PYTHON_LDFLAGS=`$PYTHON_CONFIG --ldflags` fi