]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
SF Bug # 941346, AIX shared library fix
authorNeal Norwitz <nnorwitz@gmail.com>
Mon, 3 Oct 2005 03:57:09 +0000 (03:57 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Mon, 3 Oct 2005 03:57:09 +0000 (03:57 +0000)
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.

Modules/ld_so_aix

index b9aba4c596f5c0330e525bf1ea6536bbb9832afe..76afa6e485132e8683646235fa5ae5ec9d222630 100755 (executable)
@@ -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.