[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
fix for libtool porting problem on AIX4 and AIX5 hosts
From: |
Paul Eggert |
Subject: |
fix for libtool porting problem on AIX4 and AIX5 hosts |
Date: |
Tue, 9 Jul 2002 23:13:27 -0700 (PDT) |
As Autoconf maintainer I received the following bug report about "configure":
http://mail.gnu.org/pipermail/bug-autoconf/2002-July/001693.html
This is actually a Libtool bug, that has been reported elsewhere,
e.g. for expat:
http://sourceforge.net/tracker/index.php?func=detail&aid=576396&group_id=10127&atid=110127
and for FreeType:
http://www.freetype.org/pipermail/devel/2002-March/003045.html
Here is a patch, relative to the current libtool branch-1-4 CVS
(libtool.m4 1.166.2.41):
2002-07-09 Paul Eggert <address@hidden>
* libtool.m4 (_LT_AC_LTCONFIG_HACK): Fix typo: $AR was being
passed $objdir, which it should be $output_objdir. The former
is a relative path, and we need an absolute path. Original bug
report and fix by Ian Brown for FreeType in
<http://www.freetype.org/pipermail/devel/2002-March/003045.html>;
bug forwarded to Autoconf mailing list by Fred L. Drake, Jr.
--- libtool.m4 2002-07-09 22:53:56.509441000 -0700
+++ libtool.m4-fix 2002-07-09 22:55:57.469441000 -0700
@@ -1535,8 +1535,8 @@ else
# -berok will link without error, but may produce a broken library.
allow_undefined_flag='${wl}-berok'
# This is a bit strange, but is similar to how AIX traditionally builds
- # it's shared libraries.
- archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname
$libobjs $deplibs $compiler_flags ${allow_undefined_flag}
'"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo
$objdir/$libname$release.a $objdir/$soname'
+ # its shared libraries.
+ archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname
$libobjs $deplibs $compiler_flags ${allow_undefined_flag}
'"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo
$output_objdir/$libname$release.a $output_objdir/$soname'
fi
fi
;;
- fix for libtool porting problem on AIX4 and AIX5 hosts,
Paul Eggert <=