From: Alexandre Oliva Date: Sun, 25 Apr 1999 10:29:03 +0000 (+0000) Subject: * ltconfig.in (aix4*, allow_undefined_flag): Set to -berok. X-Git-Tag: release-1-3~34 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3164129adc3d3d06bf4a50dcc65e8d0aea12ede5;p=thirdparty%2Flibtool.git * ltconfig.in (aix4*, allow_undefined_flag): Set to -berok. (aix4*, shared_flag): Set to -shared or ${wl}-bM:SRE. (aix4*, archive_cmds): Use -bexpall. (aix4*, archive_cmds, archive_expsym_cmds): Use shared_flag and allow_undefined_flag. (aix4*, always_export_symbols): Set to yes up to AIX 4.1.*, because -bexpall is supported from 4.2 on. Reported by Greg Wooledge --- diff --git a/ChangeLog b/ChangeLog index a31a8f668..29cbc1a7c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,15 @@ 1999-04-25 Alexandre Oliva + * ltconfig.in (aix4*, allow_undefined_flag): Set to -berok. + (aix4*, shared_flag): Set to -shared or ${wl}-bM:SRE. + (aix4*, archive_cmds): Use -bexpall. + (aix4*, archive_cmds, archive_expsym_cmds): Use shared_flag and + allow_undefined_flag. + (aix4*, always_export_symbols): Set to yes up to AIX 4.1.*, + because -bexpall is supported from 4.2 on. + Reported by Greg Wooledge + + * ltconfig.in (hpux*, hardcode_minus_L): Set to yes. (hpux*, hardcode_libdir_flag_spec): Do not use +s by default. (hpux*, shlibpath_overrides_runpath): Set to no. diff --git a/ltconfig.in b/ltconfig.in index b680ee122..e4e881b9d 100755 --- a/ltconfig.in +++ b/ltconfig.in @@ -1165,7 +1165,6 @@ else ;; aix4*) - allow_undefined_flag= hardcode_libdir_flag_spec='${wl}-b ${wl}nolibpath ${wl}-b ${wl}libpath:$libdir:/usr/lib:/lib' hardcode_libdir_separator=':' if test "$with_gcc" = yes; then @@ -1185,12 +1184,18 @@ else hardcode_libdir_flag_spec='-L$libdir' hardcode_libdir_separator= fi - archive_cmds='$CC -shared ${wl}-bnoentry -o $objdir/$soname $libobjs $deplibs $linkopts' + shared_flag='-shared' else - always_export_symbols=yes - archive_expsym_cmds='$CC -o $objdir/$soname $libobjs $deplibs $linkopts ${wl}-bE:$export_symbols ${wl}-bM:SRE ${wl}-bnoentry' + shared_flag='${wl}-bM:SRE' 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}' + 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 4.[01]|4.[01].*) + # According to Greg Wooledge, -bexpall is only supported from AIX 4.2 on + always_export_symbols=yes ;; + esac ;; amigaos*)