summaryrefslogtreecommitdiffstats
path: root/Modules/makesetup
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2021-11-13 12:56:16 (GMT)
committerGitHub <noreply@github.com>2021-11-13 12:56:16 (GMT)
commit0486570f7b2b5a75812e5a01a8dca58bfadc2437 (patch)
tree3decd2be9bf1be998e4843ccbf36e5578aaa01d0 /Modules/makesetup
parent4c792f39e688b11c7c19e411ed4f76a7baa44638 (diff)
downloadcpython-0486570f7b2b5a75812e5a01a8dca58bfadc2437.zip
cpython-0486570f7b2b5a75812e5a01a8dca58bfadc2437.tar.gz
cpython-0486570f7b2b5a75812e5a01a8dca58bfadc2437.tar.bz2
bpo-45798: Move _decimal build setup into configure (GH-29541)
Settings for :mod:`decimal` internal C extension are now detected by :program:`configure`. The bundled `libmpdec` library is built in ``Makefile``. Signed-off-by: Christian Heimes <christian@python.org>
Diffstat (limited to 'Modules/makesetup')
-rwxr-xr-xModules/makesetup5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/makesetup b/Modules/makesetup
index 543992c..a8817ff 100755
--- a/Modules/makesetup
+++ b/Modules/makesetup
@@ -184,6 +184,11 @@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' |
*.c++) srcs="$srcs $arg";;
*.cxx) srcs="$srcs $arg";;
*.cpp) srcs="$srcs $arg";;
+ \$\(*_CFLAGS\)) cpps="$cpps $arg";;
+ \$\(*_INCLUDES\)) cpps="$cpps $arg";;
+ \$\(*_LIBS\)) libs="$libs $arg";;
+ \$\(*_LDFLAGS\)) libs="$libs $arg";;
+ \$\(*_RPATH\)) libs="$libs $arg";;
\$*) libs="$libs $arg"
cpps="$cpps $arg";;
*.*) echo 1>&2 "bad word $arg in $line"