From 0e6a6a08b71e1a99f463cc7a8661e175f2fdace4 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Wed, 4 Nov 1998 07:36:59 +0000 Subject: [PATCH] * 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. --- ChangeLog | 5 +++++ ltconfig.in | 5 +---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index c9ff88b3a..e0f024f28 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 ee5caf588..4798bede7 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 ;; -- 2.47.2