Change the order in which things are built -- build the shared modules
after the main interpreter. Needed for AIX.
diff --git a/Makefile.in b/Makefile.in
index 14d7ef4..304c0d9 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -147,7 +147,7 @@
LIBRARY= libpython$(VERSION).a
# Default target
-all: $(LIBRARY) python
+all: $(LIBRARY) python sharedmods
# Build the interpreter
python: $(LIBRARY) buildno
@@ -164,6 +164,12 @@
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); \