From a47816df28d9ec02be4123a251861b54c12d6039 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Sun, 7 Mar 1999 23:32:34 +0000 Subject: [PATCH] * ltmain.in (compile_command): append finalize search path to compile search path --- ChangeLog | 3 +++ ltmain.in | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 99bea4069..ec2f9718f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 1999-03-07 Alexandre Oliva + * ltmain.in (compile_command): append finalize search path to + compile search path + * tests/build-relink.test: new; check shlibpath_overrides_runpath * tests/Makefile.am (TESTS): add build-relink.test; remove hardcode.test duplicates diff --git a/ltmain.in b/ltmain.in index c16be0f0f..ac34cf8d7 100644 --- a/ltmain.in +++ b/ltmain.in @@ -2178,7 +2178,7 @@ EOF eval sys_lib_search_path=\"$sys_lib_search_path_spec\" rpath= hardcode_libdirs= - for libdir in $compile_rpath; do + for libdir in $compile_rpath $finalize_rpath; do # Skip directories that are in the system search path case " $sys_lib_search_path " in *" $libdir "*) continue ;; @@ -2502,8 +2502,8 @@ static const void *lt_preloaded_setup() { temp_rpath="$rpath" fi - if test -n "$compile_shlibpath"; then - compile_command="$shlibpath_var=\"$compile_shlibpath\$$shlibpath_var\" $compile_command" + if test -n "$compile_shlibpath$finalize_shlibpath"; then + compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command" fi if test -n "$finalize_shlibpath"; then finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command" -- 2.47.3