From 506ef9ec817c3f5b3dfca03e563048b4a8b0e61f Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 18 Aug 1997 14:22:24 +0000 Subject: [PATCH] Change the order in which things are built -- build the shared modules after the main interpreter. Needed for AIX. --- Makefile.in | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 14d7ef4b24f..304c0d9d7b7 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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); \