>From d1b67707192a709fb3d87f35123dd9f365f479c6 Mon Sep 17 00:00:00 2001 From: Peter Rosin Date: Wed, 25 Aug 2010 09:13:05 +0200 Subject: [PATCH 4/7] Translate dependent libraries using func_to_tool_path * libltdl/config/ltmain.m4sh (func_mode_link): Translate paths to dependent libraries for easy consumption by the toolchain. Signed-off-by: Peter Rosin --- ChangeLog | 7 +++++++ libltdl/config/ltmain.m4sh | 5 ++++- 2 files changed, 11 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index a9ba720..d8995d4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2010-08-25 Peter Rosin + Translate dependent libraries using func_to_tool_path + * libltdl/config/ltmain.m4sh (func_mode_link): Translate + paths to dependent libraries for easy consumption by the + toolchain. + +2010-08-25 Peter Rosin + Convert file names to toolchain format when linking. * libltdl/config/ltmain.m4sh (func_mode_link): When exporting symbols and when linking using command files (or response diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh index 347d859..26f6fda 100644 --- a/libltdl/config/ltmain.m4sh +++ b/libltdl/config/ltmain.m4sh @@ -6379,7 +6379,10 @@ func_mode_link () *) func_append tmp_libs " $deplib" ;; esac ;; - *) func_append tmp_libs " $deplib" ;; + *) + func_to_tool_path "$deplib" + func_quote_for_eval "$func_to_tool_path_result" + func_append tmp_libs " $func_quote_for_eval_unquoted_result" ;; esac done eval $var=\"$tmp_libs\" -- 1.7.1