[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":

This is actually a Libtool bug, that has been reported elsewhere,
e.g. for expat:

and for FreeType:

Here is a patch, relative to the current libtool branch-1-4 CVS

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
        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.
        # 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'

reply via email to

[Prev in Thread] Current Thread [Next in Thread]