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.
This commit is contained in:
Neal Norwitz 2005-10-03 03:57:09 +00:00
parent 11bd119226
commit a45770d6d0
1 changed files with 4 additions and 0 deletions

View File

@ -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.