blob: 87dda1f19c56ab4b63af731a3b6f14501e7b8c30 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#!/bin/ksh
#################################
# AIX shared library helper #
#################################
# ------------------------------------------------------------
# This script should be in the Modules directory, and I run it
# (from there) after having built all the shared objects.
# ------------------------------------------------------------
# --------------------------------------------------
# Create the export file which will list all symbols
# that the statically linked python executable has
# to make available to dynamically loaded modules.
# --------------------------------------------------
sort -u *.imp > python.exp
# ---------------------------------------------------------------------
# Link the python executable. I think this is exactly the same command
# which the unmodified python makefile comes up with, except for the
# addition of the -bE: argument.
# ---------------------------------------------------------------------
cc -O main.o config.o getpath.o libModules.a ../Python/libPython.a \
../Objects/libObjects.a ../Parser/libParser.a -lm -lc -lg \
-H512 -T512 -bE:python.exp \
-o python
# -----------------------------------------------------------------
# Install the Python executable up one directory from Modules (just
# like the unmodified makefile does).
# -----------------------------------------------------------------
mv python ..
|