* 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.
This commit is contained in:
Alexandre Oliva 1998-11-04 07:36:59 +00:00 committed by Alexandre Oliva
parent 1168e3b550
commit 0e6a6a08b7
2 changed files with 6 additions and 4 deletions

View File

@ -1,7 +1,12 @@
1998-11-04 Alexandre Oliva <oliva@dcc.unicamp.br>
* 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 <ian@cygnus.com>

View File

@ -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
;;