From: Andrew M. Kuchling Date: Fri, 29 Sep 2006 12:44:26 +0000 (+0000) Subject: [Backport rev 39653 by nnorwitz] X-Git-Tag: v2.4.4c1~97 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0fe32a9771703aa6973b18a69fdc2f072720c99c;p=thirdparty%2FPython%2Fcpython.git [Backport rev 39653 by nnorwitz] 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. --- diff --git a/Modules/ld_so_aix b/Modules/ld_so_aix index b9aba4c596f5..76afa6e48513 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.