Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a45770d

Browse files
committed
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.
1 parent 11bd119 commit a45770d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Modules/ld_so_aix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,10 @@ fi
168168

169169
CCOPT="-Wl,-e$entry -Wl,-bE:$expfile -Wl,-bI:$impfile -Wl,-bhalt:4"
170170
CCOPT="$CCOPT -Wl,-bM:SRE -Wl,-T512 -Wl,-H512 -lm -o $objfile"
171+
# Note: to use dynamic libraries like libtcl8.4.so and libtk8.4.so
172+
# you may need to replace the second CCOPT line above with the following:
173+
# CCOPT="$CCOPT -Wl,-bM:SRE -Wl,-T512 -Wl,-H512 -brtl -bnortllib -lm -o $objfile"
174+
171175
CCARGS="$args"
172176

173177
# Export list generation.

0 commit comments

Comments
 (0)