mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Merge pull request #1024 from andyone/master
Fixed support for commas for all environment variables in configure script
This commit is contained in:
commit
66b9f6fb2b
1 changed files with 12 additions and 12 deletions
24
src/configure
vendored
24
src/configure
vendored
|
@ -34,16 +34,16 @@ esac
|
|||
eval "$("$src_dir"/shobj-conf -C "$CC" -o "$host_os")"
|
||||
|
||||
sed "
|
||||
s,@CC@,${CC},
|
||||
s,@CFLAGS@,${CFLAGS//,/\\,},
|
||||
s,@LOCAL_CFLAGS@,${LOCAL_CFLAGS//,/\\,},
|
||||
s,@DEFS@,${DEFS},
|
||||
s,@LOCAL_DEFS@,${LOCAL_DEFS},
|
||||
s,@SHOBJ_CC@,${SHOBJ_CC},
|
||||
s,@SHOBJ_CFLAGS@,${SHOBJ_CFLAGS//,/\\,},
|
||||
s,@SHOBJ_LD@,${SHOBJ_LD},
|
||||
s,@SHOBJ_LDFLAGS@,${SHOBJ_LDFLAGS//,/\\,},
|
||||
s,@SHOBJ_XLDFLAGS@,${SHOBJ_XLDFLAGS//,/\\,},
|
||||
s,@SHOBJ_LIBS@,${SHOBJ_LIBS},
|
||||
s,@SHOBJ_STATUS@,${SHOBJ_STATUS},
|
||||
s#@CC@#${CC}#
|
||||
s#@CFLAGS@#${CFLAGS}#
|
||||
s#@LOCAL_CFLAGS@#${LOCAL_CFLAGS}#
|
||||
s#@DEFS@#${DEFS}#
|
||||
s#@LOCAL_DEFS@#${LOCAL_DEFS}#
|
||||
s#@SHOBJ_CC@#${SHOBJ_CC}#
|
||||
s#@SHOBJ_CFLAGS@#${SHOBJ_CFLAGS}#
|
||||
s#@SHOBJ_LD@#${SHOBJ_LD}#
|
||||
s#@SHOBJ_LDFLAGS@#${SHOBJ_LDFLAGS}#
|
||||
s#@SHOBJ_XLDFLAGS@#${SHOBJ_XLDFLAGS}#
|
||||
s#@SHOBJ_LIBS@#${SHOBJ_LIBS}#
|
||||
s#@SHOBJ_STATUS@#${SHOBJ_STATUS}#
|
||||
" "$src_dir"/Makefile.in > "$src_dir"/Makefile
|
||||
|
|
Loading…
Reference in a new issue