diff --git a/ChangeLog b/ChangeLog index 96ff1b02..1e96f0fe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,13 +1,16 @@ 1999-01-19 Gary V. Vaughan + From Andrey Slepuhin + * ltmain.in (hardcode_action) Oops, misapplied the patch! + * ltconfig.in (compile_dependencylbs): removed this variable and pick up the library dependencies from $deplibs. * ltmain.in (compile_dependencylibs): removed this variable, use deplibs to hold these dependencies. From Andrey Slepuhin - (hardcode_action) make sure deplibs is set to include all the - extra libs added to compile_command. + * ltmain.in (hardcode_action) make sure deplibs is set to include + all the extra libs added to compile_command. 1999-01-18 Alexandre Oliva diff --git a/ltmain.in b/ltmain.in index 7b697dc2..50d45e76 100644 --- a/ltmain.in +++ b/ltmain.in @@ -1091,7 +1091,7 @@ compiler." deplibs="$deplibs $dir/$linklib" elif test "$hardcode_minus_L" = yes; then compile_command="$compile_command -L$dir -l$name" - deplibs="$deplibs $dir/$linklib" + deplibs="$deplibs -L$dir -l$name" elif test "$hardcode_shlibpath_var" = yes; then compile_shlibpath="$compile_shlibpath$dir:" compile_command="$compile_command -l$name"