mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Merge pull request #1011 from kenaniah/patch-1
Properly escapes commas in c flags
This commit is contained in:
commit
615f8443fe
1 changed files with 3 additions and 3 deletions
6
src/configure
vendored
6
src/configure
vendored
|
@ -35,12 +35,12 @@ eval "$("$src_dir"/shobj-conf -C "$CC" -o "$host_os")"
|
||||||
|
|
||||||
sed "
|
sed "
|
||||||
s,@CC@,${CC},
|
s,@CC@,${CC},
|
||||||
s,@CFLAGS@,${CFLAGS},
|
s,@CFLAGS@,${CFLAGS//,/\\,},
|
||||||
s,@LOCAL_CFLAGS@,${LOCAL_CFLAGS},
|
s,@LOCAL_CFLAGS@,${LOCAL_CFLAGS//,/\\,},
|
||||||
s,@DEFS@,${DEFS},
|
s,@DEFS@,${DEFS},
|
||||||
s,@LOCAL_DEFS@,${LOCAL_DEFS},
|
s,@LOCAL_DEFS@,${LOCAL_DEFS},
|
||||||
s,@SHOBJ_CC@,${SHOBJ_CC},
|
s,@SHOBJ_CC@,${SHOBJ_CC},
|
||||||
s,@SHOBJ_CFLAGS@,${SHOBJ_CFLAGS},
|
s,@SHOBJ_CFLAGS@,${SHOBJ_CFLAGS//,/\\,},
|
||||||
s,@SHOBJ_LD@,${SHOBJ_LD},
|
s,@SHOBJ_LD@,${SHOBJ_LD},
|
||||||
s,@SHOBJ_LDFLAGS@,${SHOBJ_LDFLAGS//,/\\,},
|
s,@SHOBJ_LDFLAGS@,${SHOBJ_LDFLAGS//,/\\,},
|
||||||
s,@SHOBJ_XLDFLAGS@,${SHOBJ_XLDFLAGS//,/\\,},
|
s,@SHOBJ_XLDFLAGS@,${SHOBJ_XLDFLAGS//,/\\,},
|
||||||
|
|
Loading…
Reference in a new issue