diff options
author | Ned Deily <nad@acm.org> | 2014-06-02 08:05:29 (GMT) |
---|---|---|
committer | Ned Deily <nad@acm.org> | 2014-06-02 08:05:29 (GMT) |
commit | b16619188633a22a924ea9497c55932cd03fdc44 (patch) | |
tree | 5c6035b7c4335d374f20bf55d08c1415506727ec /Modules/makesetup | |
parent | e81c637bf8042660a76e0c9138c789369f880ccc (diff) | |
download | cpython-b16619188633a22a924ea9497c55932cd03fdc44.zip cpython-b16619188633a22a924ea9497c55932cd03fdc44.tar.gz cpython-b16619188633a22a924ea9497c55932cd03fdc44.tar.bz2 |
Issue #17095: Fix Modules/Setup *shared* support.
Original patch by Thomas Wouters.
Diffstat (limited to 'Modules/makesetup')
-rwxr-xr-x | Modules/makesetup | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Modules/makesetup b/Modules/makesetup index 40dfa9d..8b5cc28 100755 --- a/Modules/makesetup +++ b/Modules/makesetup @@ -217,7 +217,7 @@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' | *) src='$(srcdir)/'"$srcdir/$src";; esac case $doconfig in - no) cc="$cc \$(CCSHARED) \$(CFLAGS) \$(CPPFLAGS)";; + no) cc="$cc \$(CCSHARED) \$(PY_CFLAGS) \$(PY_CPPFLAGS)";; *) cc="$cc \$(PY_CORE_CFLAGS)";; esac @@ -229,11 +229,7 @@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' | esac for mod in $mods do - case $objs in - *$mod.o*) base=$mod;; - *) base=${mod}module;; - esac - file="$srcdir/$base\$(SO)" + file="$srcdir/$mod\$(EXT_SUFFIX)" case $doconfig in no) SHAREDMODS="$SHAREDMODS $file";; esac |