summaryrefslogtreecommitdiffstats
path: root/Modules/ld_so_aix
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2005-10-03 03:57:09 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2005-10-03 03:57:09 (GMT)
commita45770d6d08c43e1ea16c03b1c4d9ca938a664fd (patch)
tree5a690e25942c853056661290bf04dd2e7b5e6dd7 /Modules/ld_so_aix
parent11bd11922657f582ee05f1d3cefe32c3a9e51cb7 (diff)
downloadcpython-a45770d6d08c43e1ea16c03b1c4d9ca938a664fd.zip
cpython-a45770d6d08c43e1ea16c03b1c4d9ca938a664fd.tar.gz
cpython-a45770d6d08c43e1ea16c03b1c4d9ca938a664fd.tar.bz2
SF Bug # 941346, AIX shared library fix
Since I can't test this, I'm just adding a comment. If we get access to AIX boxes, we can test this and really resolve. Anyone from IBM want to offer help? Backport candidate I suppose.
Diffstat (limited to 'Modules/ld_so_aix')
-rwxr-xr-xModules/ld_so_aix4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/ld_so_aix b/Modules/ld_so_aix
index b9aba4c..76afa6e 100755
--- a/Modules/ld_so_aix
+++ b/Modules/ld_so_aix
@@ -168,6 +168,10 @@ fi
CCOPT="-Wl,-e$entry -Wl,-bE:$expfile -Wl,-bI:$impfile -Wl,-bhalt:4"
CCOPT="$CCOPT -Wl,-bM:SRE -Wl,-T512 -Wl,-H512 -lm -o $objfile"
+# Note: to use dynamic libraries like libtcl8.4.so and libtk8.4.so
+# you may need to replace the second CCOPT line above with the following:
+# CCOPT="$CCOPT -Wl,-bM:SRE -Wl,-T512 -Wl,-H512 -brtl -bnortllib -lm -o $objfile"
+
CCARGS="$args"
# Export list generation.