summaryrefslogtreecommitdiff
path: root/ltconfig
diff options
context:
space:
mode:
authorunknown <monty@mashka.mysql.fi>2002-08-24 16:32:16 +0300
committerunknown <monty@mashka.mysql.fi>2002-08-24 16:32:16 +0300
commit5d641b1288ee01939cfddd145e070ebef87b6c17 (patch)
treeaabd2378e79efbd8c2610d7dabacdfd1dca7e00c /ltconfig
parentfd096e655d52f80ee0ffc4cb63b4b5f740f2561a (diff)
downloadmariadb-git-5d641b1288ee01939cfddd145e070ebef87b6c17.tar.gz
Portability fix for AIX 4.3 powerpc with gcc 3.2
BitKeeper/deleted/.del-rpl_compat.test~5f6ba955e02aa95f: deleted old test Docs/manual.texi: Added comment about shared libraries to upgrade section
Diffstat (limited to 'ltconfig')
-rwxr-xr-xltconfig4
1 files changed, 1 insertions, 3 deletions
diff --git a/ltconfig b/ltconfig
index b9df847729d..18af7c4dce8 100755
--- a/ltconfig
+++ b/ltconfig
@@ -1308,9 +1308,7 @@ else
hardcode_direct=yes
fi
allow_undefined_flag=' ${wl}-berok'
- # -qmkshrobj used to be -bexpall, but MySQL uses symbols which start with
- # an underscore (e.g., _my_b_write), so -bexpall doesn't work.
- archive_cmds="\$CC $shared_flag"' -o $objdir/$soname $libobjs $deplibs $linkopts ${wl}-qmkshrobj ${wl}-bnoentry${allow_undefined_flag}'
+ archive_cmds="\$CC $shared_flag"' -o $objdir/$soname $libobjs $deplibs $linkopts ${wl}-bexpall ${wl}-bnoentry${allow_undefined_flag}'
archive_expsym_cmds="\$CC $shared_flag"' -o $objdir/$soname $libobjs $deplibs $linkopts ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}'
case "$host_os" in aix4.[01]|aix4.[01].*)
# According to Greg Wooledge, -bexpall is only supported from AIX 4.2 on