diff --git a/ChangeLog b/ChangeLog index c9ff88b3..e0f024f2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,12 @@ 1998-11-04 Alexandre Oliva + * ltconfig.in (hardcode_minus_L): Revert Ian's patch for + ltconfig.in. Although -L hardcoding is not used with GNU ld, it + does happen, so hardcode_minus_L must be set to yes. + * ltconfig.in (compiler_o_lo): check whether we can write directly to a .lo + * ltmain.in (compiler_o_lo): if not, write to .o and rename it 1998-11-04 Ian Lance Taylor diff --git a/ltconfig.in b/ltconfig.in index ee5caf58..4798bede 100755 --- a/ltconfig.in +++ b/ltconfig.in @@ -837,10 +837,7 @@ if test "$with_gnu_ld" = yes; then sunos4*) archive_cmds='$LD -assert pure-text -Bstatic -o $lib$libobjs' hardcode_direct=yes - # The GNU linker will only hardcode -L options when -rpath is not - # used, but we will be using -rpath because we set - # hardcode_libdir_flag_spec below. - hardcode_minus_L=no + hardcode_minus_L=yes hardcode_shlibpath_var=no ;;