diff options
author | tim@black.box <> | 2001-11-01 20:51:23 -0500 |
---|---|---|
committer | tim@black.box <> | 2001-11-01 20:51:23 -0500 |
commit | 49b99afcbe2169b18daa055548a0f3f71fbae96d (patch) | |
tree | 0fff69cf7dd90df6f3c466d50f0b405bcf70e8ac /ltconfig | |
parent | fd74164f6b474fcf5fe38249e88f344fa75fb66d (diff) | |
download | mariadb-git-49b99afcbe2169b18daa055548a0f3f71fbae96d.tar.gz |
Portability fixes for AIX 4.x
Diffstat (limited to 'ltconfig')
-rwxr-xr-x | ltconfig | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1308,7 +1308,9 @@ else hardcode_direct=yes fi allow_undefined_flag=' ${wl}-berok' - archive_cmds="\$CC $shared_flag"' -o $objdir/$soname $libobjs $deplibs $linkopts ${wl}-bexpall ${wl}-bnoentry${allow_undefined_flag}' + # -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_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 |