summaryrefslogtreecommitdiff
path: root/ltcf-cxx.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ltcf-cxx.sh')
-rw-r--r--ltcf-cxx.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/ltcf-cxx.sh b/ltcf-cxx.sh
index c134a429486..cefa0085624 100644
--- a/ltcf-cxx.sh
+++ b/ltcf-cxx.sh
@@ -135,8 +135,12 @@ case "$host_os" in
ld_shlibs=no
;;
aix4*)
- # FIXME: insert proper C++ library support
- ld_shlibs=no
+ archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
+ # -bexpall does not export symbols beginning with underscore (_)
+ always_export_symbols=yes
+ # Exported symbols can be pulled into shared objects from archives
+ whole_archive_flag_spec=' '
+ build_libtool_need_lc=yes
;;
chorus*)
case "$cc_basename" in