--- /usr/bin/glibtool.old Mon Oct 7 21:10:39 2002 +++ /usr/bin/glibtool Mon Oct 7 21:11:24 2002 @@ -181,7 +181,7 @@ old_archive_from_expsyms_cmds="" # Commands used to build and install a shared archive. -archive_cmds="\$nonopt \$(test \\\"x\$module\\\" = xyes && echo -bundle || echo -dynamiclib) \$allow_undefined_flag -o \$lib \$libobjs \$deplibs\$linker_flags -install_name \$rpath/\$soname \$verstring" +archive_cmds="\$nonopt \$(test x\$module = xyes && echo -bundle || echo -dynamiclib) \$allow_undefined_flag -o \$lib \$libobjs \$deplibs\$linker_flags \$(test x\$module = xyes || -install_name \$rpath/\$soname) \$verstring" archive_expsym_cmds="" postinstall_cmds="" postuninstall_cmds="" --- /usr/share/aclocal/libtool.m4.old Mon Oct 7 21:08:31 2002 +++ /usr/share/aclocal/libtool.m4 Mon Oct 7 21:09:10 2002 @@ -1580,7 +1580,7 @@ # FIXME: Relying on posixy $() will cause problems for # cross-compilation, but unfortunately the echo tests do not # yet detect zsh echo's removal of \ escapes. - archive_cmds='$nonopt $(test "x$module" = xyes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring' + archive_cmds='$nonopt $(test x$module = xyes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags $(test x$module = xyes || echo -install_name $rpath/$soname) $verstring' # We need to add '_' to the symbols in $export_symbols first #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols' hardcode_direct=yes