From 02530b0f7437285dc5d145efbbd0b509d26b8b2b Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 31 Jul 1996 22:43:38 +0000 Subject: [PATCH] Changes for AIX shared libs --- Modules/Makefile.pre.in | 2 ++ Modules/Setup.in | 9 +++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Modules/Makefile.pre.in b/Modules/Makefile.pre.in index cd53ae68ad..4827e9b533 100644 --- a/Modules/Makefile.pre.in +++ b/Modules/Makefile.pre.in @@ -158,6 +158,7 @@ audioop.o: audioop.c cdmodule.o: cdmodule.c clmodule.o: clmodule.c dbmmodule.o: dbmmodule.c +errnomodule.o: errnomodule.c fcntlmodule.o: fcntlmodule.c flmodule.o: flmodule.c fmmodule.o: fmmodule.c @@ -170,6 +171,7 @@ md5c.o: md5c.c md5module.o: md5module.c mpzmodule.o: mpzmodule.c nismodule.o: nismodule.c +operator.o: operator.c parsermodule.o: parsermodule.c posixmodule.o: posixmodule.c pwdmodule.o: pwdmodule.c diff --git a/Modules/Setup.in b/Modules/Setup.in index daa1cc7a00..69ebd3bbd3 100644 --- a/Modules/Setup.in +++ b/Modules/Setup.in @@ -46,6 +46,11 @@ # to ftp sources from elsewhere. +# -------> Uncomment this line if you are running AIX <---------- +# -------> and if you are building with shared libraries <---------- +#LINKCC= makexp_aix python.exp "" $(MYLIBS) $(ADDOBJS) ; $(CC) + + # Some special rules to define PYTHONPATH. # Edit the definitions below to indicate which options you are using. # Don't add any whitespace or comments! @@ -102,7 +107,7 @@ signal signalmodule.c # signal(2) array arraymodule.c # array objects cmath cmathmodule.c # complex math library functions -math mathmodule.c -lm # math library functions, e.g. sin() +math mathmodule.c # math library functions, e.g. sin() regex regexmodule.c regexpr.c # Regular expressions, GNU Emacs style strop stropmodule.c # fast string operations implemented in C struct structmodule.c # binary structure packing/unpacking @@ -194,7 +199,7 @@ md5 md5module.c md5c.c # This module requires the header file # /usr/people/4Dgifts/iristools/include/izoom.h: -#imgfile imgfile.c -limage -lgutil -lm # Image Processing Utilities +#imgfile imgfile.c -limage -lgutil # Image Processing Utilities # These modules require the Multimedia Development Option (I think): -- 2.50.1