lt_prog_compiler_wl to `-Wl'.
Reported by Albert Chin-A-Young <china@thewrittenword.com>
2001-06-30 Gary V. Vaughan <gary@gnu.org>
+ * libtool.m4 (AC_LIBTOOL_PROG_COMPILER_PIC) [aix*]: Always set
+ lt_prog_compiler_wl to `-Wl'.
+ Reported by Albert Chin-A-Young <china@thewrittenword.com>
+
* ltdl.m4 (AC_LTDL_DLLIB) [sco3.2*]: When searching for a dlopen
implementation, and adding `-ldl' has failed, try linking a call
to dlopen, #including dlfcn.h, and without -ldl. On sco3.2 the
# PORTME Check for flag to pass linker flags through the system compiler.
case $host_os in
aix*)
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
if test "$host_cpu" = ia64; then
# AIX 5 now supports IA64 processor
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
else
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'