Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 02530b0

Browse files
committed
Changes for AIX shared libs
1 parent 9e277db commit 02530b0

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

Modules/Makefile.pre.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ audioop.o: audioop.c
158158
cdmodule.o: cdmodule.c
159159
clmodule.o: clmodule.c
160160
dbmmodule.o: dbmmodule.c
161+
errnomodule.o: errnomodule.c
161162
fcntlmodule.o: fcntlmodule.c
162163
flmodule.o: flmodule.c
163164
fmmodule.o: fmmodule.c
@@ -170,6 +171,7 @@ md5c.o: md5c.c
170171
md5module.o: md5module.c
171172
mpzmodule.o: mpzmodule.c
172173
nismodule.o: nismodule.c
174+
operator.o: operator.c
173175
parsermodule.o: parsermodule.c
174176
posixmodule.o: posixmodule.c
175177
pwdmodule.o: pwdmodule.c

Modules/Setup.in

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@
4646
# to ftp sources from elsewhere.
4747

4848

49+
# -------> Uncomment this line if you are running AIX <----------
50+
# -------> and if you are building with shared libraries <----------
51+
#LINKCC= makexp_aix python.exp "" $(MYLIBS) $(ADDOBJS) ; $(CC)
52+
53+
4954
# Some special rules to define PYTHONPATH.
5055
# Edit the definitions below to indicate which options you are using.
5156
# Don't add any whitespace or comments!
@@ -102,7 +107,7 @@ signal signalmodule.c # signal(2)
102107

103108
array arraymodule.c # array objects
104109
cmath cmathmodule.c # complex math library functions
105-
math mathmodule.c -lm # math library functions, e.g. sin()
110+
math mathmodule.c # math library functions, e.g. sin()
106111
regex regexmodule.c regexpr.c # Regular expressions, GNU Emacs style
107112
strop stropmodule.c # fast string operations implemented in C
108113
struct structmodule.c # binary structure packing/unpacking
@@ -194,7 +199,7 @@ md5 md5module.c md5c.c
194199
# This module requires the header file
195200
# /usr/people/4Dgifts/iristools/include/izoom.h:
196201

197-
#imgfile imgfile.c -limage -lgutil -lm # Image Processing Utilities
202+
#imgfile imgfile.c -limage -lgutil # Image Processing Utilities
198203

199204

200205
# These modules require the Multimedia Development Option (I think):

0 commit comments

Comments
 (0)