diff options
author | Christian Heimes <christian@python.org> | 2021-10-25 18:52:55 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-25 18:52:55 (GMT) |
commit | 2b8677a3cd855eb3a579894c64588eab0e006269 (patch) | |
tree | ce64d9af9e9ab44ba0bdbde78a1a0ae35d22d72d | |
parent | ece916e92ce76cfdbfd208605a6fc827db0fbd52 (diff) | |
download | cpython-2b8677a3cd855eb3a579894c64588eab0e006269.zip cpython-2b8677a3cd855eb3a579894c64588eab0e006269.tar.gz cpython-2b8677a3cd855eb3a579894c64588eab0e006269.tar.bz2 |
bpo-45548: FreeBSD doesn't like auto vars in makesetup (GH-29216)
-rwxr-xr-x | Modules/makesetup | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/makesetup b/Modules/makesetup index 849f15f..9046657 100755 --- a/Modules/makesetup +++ b/Modules/makesetup @@ -236,7 +236,7 @@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' | cc="$cc \$(PY_BUILTIN_MODULE_CFLAGS)";; esac mods_upper=$(echo $mods | tr '[a-z]' '[A-Z]') - rule="$obj: $src \$(MODULE_${mods_upper}_DEPS) \$(PYTHON_HEADERS); $cc $cpps -c \$< -o \$@" + rule="$obj: $src \$(MODULE_${mods_upper}_DEPS) \$(PYTHON_HEADERS); $cc $cpps -c $src -o $obj" echo "$rule" >>$rulesf done case $doconfig in @@ -249,7 +249,7 @@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' | no) SHAREDMODS="$SHAREDMODS $file";; esac rule="$file: $objs" - rule="$rule; \$(BLDSHARED) $objs $libs $ExtraLibs -o \$@" + rule="$rule; \$(BLDSHARED) $objs $libs $ExtraLibs -o $file" echo "$rule" >>$rulesf done done |