mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Change the order in which things are built -- build the shared modules
after the main interpreter. Needed for AIX.
This commit is contained in:
parent
0393e18b18
commit
506ef9ec81
1 changed files with 7 additions and 1 deletions
|
|
@ -147,7 +147,7 @@ CFLAGS= $(OPT) -I. $(DEFS)
|
|||
LIBRARY= libpython$(VERSION).a
|
||||
|
||||
# Default target
|
||||
all: $(LIBRARY) python
|
||||
all: $(LIBRARY) python sharedmods
|
||||
|
||||
# Build the interpreter
|
||||
python: $(LIBRARY) buildno
|
||||
|
|
@ -164,6 +164,12 @@ python: $(LIBRARY) buildno
|
|||
buildno:
|
||||
echo 0 >buildno
|
||||
|
||||
# Build the shared modules
|
||||
sharedmods: python
|
||||
cd Modules; $(MAKE) OPT="$(OPT)" VERSION="$(VERSION)" \
|
||||
prefix="$(prefix)" exec_prefix="$(exec_prefix)" \
|
||||
sharedmods
|
||||
|
||||
# Build the library
|
||||
$(LIBRARY): $(SUBDIRS)
|
||||
if test ! -f $(LIBRARY); \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue