mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
* Modules/makesetup: bugfix: add objects from sources to OBJS
This commit is contained in:
parent
1d5735e846
commit
224b289efa
1 changed files with 3 additions and 0 deletions
|
|
@ -141,6 +141,7 @@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' |
|
|||
RULES="$RULES$obj: $src; \$(CC) \$(CFLAGS) $cpps -c $src$NL"
|
||||
done
|
||||
OBJS="$OBJS $objs"
|
||||
objs=
|
||||
for src in $srcs
|
||||
do
|
||||
case $src in
|
||||
|
|
@ -150,12 +151,14 @@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' |
|
|||
*.C) obj=`basename $src .C`.o; cc='$(CCC)';;
|
||||
*) continue;;
|
||||
esac
|
||||
objs="$objs $obj"
|
||||
case $src in
|
||||
glmodule.c) ;;
|
||||
*) src='$(srcdir)/'$src;;
|
||||
esac
|
||||
RULES="$RULES$obj: $src; $cc \$(CFLAGS) $cpps -c $src$NL"
|
||||
done
|
||||
OBJS="$OBJS $objs"
|
||||
done
|
||||
|
||||
case $noobjects in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue